Skip to content Skip to sidebar Skip to footer
Showing posts with the label Android Architecture Components

How To Find A Child Fragment With Navigation Architecture Components

After learning basics about new architecture components, I decided to apply this knowledge and work… Read more How To Find A Child Fragment With Navigation Architecture Components

Android Architecture Singleliveevent And Eventobserver Practicle Example In Java

I try to make sample login page with two fields (username, password) and save button with android a… Read more Android Architecture Singleliveevent And Eventobserver Practicle Example In Java

Observing Changes In Room Database Table Using Itemkeyeddatasource

I have implemented class which extends ItemKeyedDataSource and provides paging data from room datab… Read more Observing Changes In Room Database Table Using Itemkeyeddatasource

Dao Method Returns List While I Need A Map

In an Android app using Architecture Components I have the following view model: public class MainV… Read more Dao Method Returns List While I Need A Map

Android Paging (3) Load All Pages At Once

I'm using the Android Paging 3 library in my project in order to load my data page by page. In … Read more Android Paging (3) Load All Pages At Once

Android Paging Library - Which Datasource I Should Use

What I Want: I want to implement Android Paging Library with network call only. What I Understood: … Read more Android Paging Library - Which Datasource I Should Use

How To Clear/remove All Items In Page List Adapter

I'm using the android paging library to show search result items, is there any way I can clear/… Read more How To Clear/remove All Items In Page List Adapter

Android Viewmodel Recreated On Screen Rotation

I found a case when architecture components ViewModel isn't retained - in short it goes as foll… Read more Android Viewmodel Recreated On Screen Rotation