A glance into your app: Glance Tutorial pt.2, injecting data in your widget

Поделиться
HTML-код
  • Опубликовано: 18 окт 2024

Комментарии • 9

  • @TheYGFAMILYCLUB
    @TheYGFAMILYCLUB Месяц назад +1

    Thankyou ❤

    • @lucanicoletti
      @lucanicoletti  Месяц назад

      Thank to you for watching and supporting the channel!

  • @nijithebuji
    @nijithebuji 2 дня назад +1

    Thanks for the video. No need to use any GlanceStateDefinition at all?

    • @lucanicoletti
      @lucanicoletti  День назад

      It depends, the video shows how to use a Local Database (with Room). GlanceStateDefinition defaults to `PreferencesGlanceStateDefinition` which uses `PreferenceStore` (the old SharedPreference). It's up to you what you want your Widget to use. If you're just displaying some (simple) user's configuration you could use that, if you're showing data stored in the database of your app, I'd recommend following the tutorial.