Kotlin

A series of complete step-by-step tutorials to walk you through how to accomplish different tasks in Kotlin, from Getting Started to writing Android applications

Swipe Refresh Layout example kotlin in android

Pull to Swipe Refresh Layout is a gesture that is being used in a lot of popular apps, apps where content updates are frequent, like news, social media e.t.c. In Android development this gesture it’s called ‘Swipe to Refresh‘ Methods are: – setOnRefreshListener(OnRefreshListener): adds a listener to let other parts of the code know when refreshing begins.– setRefreshing(boolean): enables or disables progress visibility.– isRefreshing(): checks

Swipe Refresh Layout example kotlin in android Read More »

Adding Floating Action Button Kotlin

The Floating Action Button (FAB) is a circular button that triggers primary action in your app’s UI. This tutorial shows you how to add the FAB to your layout, customize some of its appearance, and respond to the button taps. We will show Snackbar on FAB click.We will use Kotlin and Android Studio.Minimum API: Android 2.1 is API level 7 Step 1: Create a new project OR Open your

Adding Floating Action Button Kotlin Read More »