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

How to move From one Activity to another Activity in Android Studio Kotlin

In this tutorial we will learn how to open new Activity when a Button is clicked using Android Studio in Kotlin language. When button in an activity(Main Activity) is clicked the new activity(New Activity) will be opened. Step 1: Create a new Project or open new project Step 2: Create a new Activity(e.g. Empty Activity) Step 3: Code activity_main.xml […]

How to move From one Activity to another Activity in Android Studio Kotlin Read More »

Android Bottom Sheet in Kotlin

This tutorial is about: How to create bottom sheet using Fragment How to handle bottom sheet item/option clicks Step 1: Create a new Project or open new project Step 2: Add following library in build.gradle(Module:app)            implementation ‘com.android.support:design:27.1.1’ Step 3: Create a fragment name it as “BottomSheetEx”. Step 4: Code build.gradle(Module:app) BottomSheetEx.kt fragment_bottom_sheet_ex.xml activity_main.xml MainActivity.kt Step 5:Run Project Output

Android Bottom Sheet in Kotlin Read More »