Home / Programming / Android (page 2)

Android

Background Processing in Android using Async Task Loader

AsyncTaskLoader is a subclass of Loader, unlike AsyncTask’s, AsyncTaskLoader prevent duplication of background threads and eliminate duplication of zombie (dead or destroyed) activities. First, let’s talk about Loaders. What are Loaders? The Loader API lets you load data from a content provider or any other data source for display in an FragmentActivity or Fragment – Developer.Android.com …

Read More »

Kotlin Function Overriding Rules

Overridden functions of an open class is open by default and we can stop that by using the final Keyword Meaning we can override and inherit overridden method by default. Let’s say we built a learning app. Course is our abstract class, KotlinCourse inherits or extends Course, SpecialKotlinCourse also inherits or extend KotlinCourse. As you …

Read More »