Azhar has Published 721 Articles

Add and Remove Views in Android Dynamically in Kotlin?

Azhar

Azhar

Updated on 23-May-2020 09:37:53

3K+ Views

This example demonstrates how to Add and Remove Views in Android Dynamically in Kotlin.Step 1 − Create a new project in Android Studio, go to File ? New Project and fill all required details to create a new project.Step 2  − Add the following code to res/layout/activity_main.xml.Example     ... Read More

How to use ArrayAdapter in android to create a simple listview in Kotlin?

Azhar

Azhar

Updated on 21-Apr-2020 10:10:28

5K+ Views

This example demonstrates how to use ArrayAdapter in android to create a simple listview in Kotlin.Step 1 − Create a new project in Android Studio, go to File ⇒New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.   ... Read More

How to use SearchView in the Toolbar in Kotlin?

Azhar

Azhar

Updated on 21-Apr-2020 10:08:48

2K+ Views

This example demonstrates how to use SearchView in the Toolbar in Kotlin.Step 1 − Create a new project in Android Studio, go to File ⇉ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.         ... Read More

How to get Spinner value in Kotlin?

Azhar

Azhar

Updated on 21-Apr-2020 10:07:50

4K+ Views

This example demonstrates how to get Spinner value in Kotlin.Step 1 − Create a new project in Android Studio, go to File ⇉ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.             ... Read More

How to programmatically turn off and turn on WiFi in Kotlin?

Azhar

Azhar

Updated on 21-Apr-2020 10:00:43

1K+ Views

This example demonstrates programmatically turning off and turning on WiFi in Kotlin.Step 1 − Create a new project in Android Studio, go to File ⇉ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.         ... Read More

How to add Google Search Functionality in Kotlin?

Azhar

Azhar

Updated on 21-Apr-2020 09:57:39

733 Views

This example demonstrates how to add Google Search Functionality in Kotlin.Step 1 − Create a new project in Android Studio, go to File ⇒New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.             ... Read More

How to integrate Facebook using Kotlin?

Azhar

Azhar

Updated on 21-Apr-2020 09:55:49

2K+ Views

This example demonstrates how to integrate Facebook using Kotlin.Step 1 − Create a new project in Android Studio, go to File ⇒New Project and fill all required details to create a new project.Step 2 − In your project, open your_app | Gradle Scripts | build.gradle (Module: app) and add the ... Read More

How to play videos in Android TextureView using Kotlin?

Azhar

Azhar

Updated on 21-Apr-2020 09:44:38

549 Views

This example demonstrates how to play videos in Android TextureView using Kotlin.Step 1 − Create a new project in Android Studio, go to File ⇒New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.     Step 3 − ... Read More

How to use the TextWatcher class in kotlin?

Azhar

Azhar

Updated on 21-Apr-2020 09:42:30

5K+ Views

This example demonstrates how to use the TextWatcher class in kotlin.Step 1 − Create a new project in Android Studio, go to File ⇒New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.             ... Read More

How to set the part of the Android text view as clickable in Kotlin?

Azhar

Azhar

Updated on 21-Apr-2020 09:34:08

2K+ Views

This example demonstrates how to set the part of the Android text view as clickable in Kotlin.Step 1 − Create a new project in Android Studio, go to File ⇒New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml. ... Read More

Advertisements