Azhar has Published 721 Articles

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

Azhar

Azhar

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

4K+ 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

3K+ 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

561 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

421 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

4K+ 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

1K+ 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

How to quit an android application programmatically using Kotlin?

Azhar

Azhar

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

2K+ Views

This example demonstrates how to quit an android application programmatically 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.           ... Read More

Advertisements