Android Realm Database Ep.06 : ListView Multiple Fields - Write,Read,AutoRefresh

Опубликовано: 06 Октябрь 2024
на канале: ProgrammingWizards TV
1,605
8

SOURCE CODE REFERENCE ??

Browse SOURCE CODE of this and other tutorial : http://camposha.info or request a compressed
version in our the SITE's support page.

SOURCE REPO : http://camposha.info
SUPPORT SITE : http://camposha.info
FB Page :   / oclemmy  


DESCRIPTION

We shall see how to read and write from and to our realm database.But we shall see how to handle realmChangeListener's onChange() method,raised whenever our dataset changes.
When that happens we shall cause a refresh of our data using RealmResults autorefresh property.
This helps avoid server round trip in situations where we have zillions of data to avoid a refetching of our data.We see also how to handle RealExceptions.We work with primary keys as well and configure our Realm in the Application subclass.

Take care.

Related Keywords:
android realm database,realm listview,realm write,read,autorefresh,crud,realmchangelisteners,realm notifications,realmresults,android database listview,save,retrieve