Skip to content
115: Architecture Components with Akshay Chordiya episode artwork

Feb 26, 2018 1 hr 4 min

115: Architecture Components with Akshay Chordiya

from Fragmented - AI Developer Podcast Hosted by Spec

In this episode, we talk about the different parts of Android architecture components. We've had episodes on Room and the paging library, so in this one, we thought we'll touch a little on Lifecycle Owners & Observers, ViewModels, and LiveData. Akshay Chordiya helps break it down. Listen on! Show Notes Android Architecture Components Lifecycle Handling lifecycles with Lifecycle-Aware Components Lifecycle Owner Lifecycle Observer Best practices for lifecycle-aware components Caveat: handling onStop events ViewModels Architecture Guide: ViewModels View Model Code snippet for a ViewModelFactory: class UserVMFactory( val user: MyUser ) : ViewModelProvider.Factory { override fun create(modelClass: Class): T { return when { modelClass.isAssignableFrom(UserVM::class.java) -> UserVM(user) as T else -> throw IllegalArgumentException("Unknown ViewModel class") } } } LiveData Live Data MediatorLiveData Misc Android Architecture Components Deep Dive Course on Caster.IO Fragmented - Room episode with Florina Fragmented - AAC Paging library with Florina Sponsors Microsoft AppCenter - Sign up now on appcenter.ms and spend less time managing your app lifecycle and more time coding. Contact @Akshay_Chordiya [twitter.com] @fragmentedcast [twitter.com] @donnfelker and 📷 donnfelker @kaushikgopal and 📷 kaushikgopal

Episode details come from the podcast's RSS feed.

Embed this episode

In this episode, we talk about the different parts of Android architecture components. We've had episodes on Room and the paging library, so in this one, we thought we'll touch a little on Lifecycle Owners & Observers, ViewModels, and LiveData. Akshay Chordiya helps break it down. Listen on! Shownotes: fragmentedpodcast.com/episodes/115/

Ready to play

115: Architecture Components with Akshay Chordiya

0:00 1:04:47

No transcript yet.

Requests help us decide what to transcribe next.

Frequently asked questions

How long is this episode of Fragmented - AI Developer Podcast?

This episode is 1 hour and 4 minutes long.

When was this Fragmented - AI Developer Podcast episode published?

This episode was published on February 26, 2018.

Can I download this Fragmented - AI Developer Podcast episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.