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

Android Livedata: Transformation Switchmap: Apply Filter On The Original List And Show The Filtered Data

public class FlightViewModel extends BaseViewModel { private FlightRepository flightRepository… Read more Android Livedata: Transformation Switchmap: Apply Filter On The Original List And Show The Filtered Data

Android Navigation Component Pop To Transition Issue

I have 2 actions Action1 Solution 1: I ended up overriding onCreateAnimation in the fragment th… Read more Android Navigation Component Pop To Transition Issue

Android Architecture Components Livedata

I'm trying to implement a simple App using Architecture Components. I can get the info from Res… Read more Android Architecture Components Livedata

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

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

Room's `ondelete = Cascade` Not Working During A Migration

I have the following tables: @Entity( tableName = 'users' ) class Users { @PrimaryK… Read more Room's `ondelete = Cascade` Not Working During A Migration