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 The concept of Loaders was …

Background Processing in Android using Async Task Loader Read More »

Background Processing in Android using AsyncTask

Background Processing In Android applications, there’s always at least one main thread that executes the most important tasks, handling user interaction, drawing pixels on the screen, and launching activities. This thread is called the UI Thread, or Main Thread. Because it’s handling the most crucial parts of an app, you never want to block the …

Background Processing in Android using AsyncTask 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 can see from the code …

Kotlin Function Overriding Rules Read More »