Azhar has Published 721 Articles

How to create pagination text in Android using Kotlin?

Azhar

Azhar

Updated on 18-Aug-2020 12:35:49

242 Views

This example demonstrates how to create pagination text in Android 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

How to implement a long click listener on an Android listview using Kotlin?

Azhar

Azhar

Updated on 18-Aug-2020 12:30:38

761 Views

This example demonstrates how to implement a long click listener on an Android listview 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 projectStep 2 − Add the following code to res/layout/activity_main.xml. ... Read More

How to make a GridLayout fit screen size in Android using Kotlin?

Azhar

Azhar

Updated on 18-Aug-2020 12:28:43

461 Views

This example demonstrates how to make a GridLayout fit screen size in Android using Kotlin.Step 1 − Create a new project in a new projectStep 2 − Add the following code to res/layout/activity_main.xml.                                 ... Read More

How do we set the input type for an Android EditText programmatically using Kotlin?

Azhar

Azhar

Updated on 18-Aug-2020 12:25:31

1K+ Views

This example demonstrates how to set the input type for an Android EditText 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

How to bring an activity to the foreground i.e. top of stack using Kotlin?

Azhar

Azhar

Updated on 18-Aug-2020 12:23:32

363 Views

This example demonstrates how to bring an activity to the foreground i.e. top of stack 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 projectStep 2 − Add the following code to res/layout/activity_main.xml. ... Read More

How to use search functionality in custom listview in Android using kotlin?

Azhar

Azhar

Updated on 18-Aug-2020 12:20:54

573 Views

This example demonstrates how to use search functionality in custom listview in Android using kotlinStep 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 send HTML email using Android App using Kotlin?

Azhar

Azhar

Updated on 18-Aug-2020 12:18:23

626 Views

This example demonstrates how to send HTML email using Android App 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

How can we get the current language selected in the Android device using Kotlin?

Azhar

Azhar

Updated on 18-Aug-2020 12:15:10

779 Views

This example demonstrates how to get the current language selected in the Android device 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

How can I set an ImageView's width and height programmatically in Android using Kotlin?

Azhar

Azhar

Updated on 18-Aug-2020 12:13:31

3K+ Views

This example demonstrates how to set an ImageView's width and height programmatically in Android 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

How to use the recyclerview with a database in Android using Kotlin?

Azhar

Azhar

Updated on 18-Aug-2020 12:11:00

2K+ Views

This example demonstrates how to use the recyclerview with a database in Android 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