Category: Kotlin
-
Kotlin Scope Functions Explained [Example]
Kotlin “scope functions” are functions that allow for changing the scope, or the range, of a variable. There are five such functions included in the Kotlin standard library: apply, run, with, let, and also.
-
How to display popupwindow in android with example
Popupwindow is a floating view that is displayed on top of an activity. Android provides a PopupWindow class for creating a popup window with a custom design.
-
Easy Way To Implementing Pagination With Recyclerview
Pagination with Recyclerview allows the user to see the latest content page by page. As we load the next ‘page’ by the time users scroll to the bottom, more content is loaded and available.
-
MVVM With Retrofit and Recyclerview in Kotlin [Example]
MVVM architecture is a Model-View-ViewModel architecture that removes the tight coupling between each component.
-
MVVM with Kotlin Coroutines and Retrofit [Example]
Coroutines are a neat new feature of the Kotlin language that allows us to write asynchronous code in a more idiomatic way.
-
Creating android app using MVVM + Coroutines + Flow + Hilt
In this tutorial, I will explain the MVVM architecture with kotlin coroutines and kotlin flow with hilt dependency injection.
-
MVVM Unit testing on Android
Unit testing is testing every unit of your code. Unit testing is a must to build robust android applications. It is an important element while building quality applications.
-
Multiple Resource Folders In Android
You can manage your resource’s XML files (layout, drawable,..) better, by grouping them into separate sub folders corresponding to the app’s features.
-
Make REST API request with Kotlin ktor client in android
Ktor is a framework to easily build connected applications, web applications, HTTP services, and mobile and browser applications.