Azhar has Published 721 Articles

How to convert milliseconds to date format in Android using Kotlin?

Azhar

Azhar

Updated on 18-Aug-2020 10:55:44

6K+ Views

This example demonstrates how to convert milliseconds to date format 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 hide status bar in Android using Kotlin?

Azhar

Azhar

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

1K+ Views

This example demonstrates how to hide status bar 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.         Step 3 ... Read More

How to create a text file and insert data to that file on Android using Kotlin?

Azhar

Azhar

Updated on 18-Aug-2020 09:27:13

2K+ Views

This example demonstrates how to create a text file and insert data to that file on 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 ... Read More

How to use Font Awesome in Native Android Application using Kotlin?

Azhar

Azhar

Updated on 18-Aug-2020 09:22:06

339 Views

This example demonstrates how to use Font Awesome in Native Android Application 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 remove a button or make it invisible in Android using Kotlin?

Azhar

Azhar

Updated on 18-Aug-2020 09:19:57

2K+ Views

This example demonstrates how to remove a button or make it invisible 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 detect Scroll Up & Scroll down in Android ListView using Kotlin?

Azhar

Azhar

Updated on 18-Aug-2020 09:16:20

990 Views

This example demonstrates how to detect Scroll Up & Scroll down in 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 project.Step 2 − Add the following code to res/layout/activity_main.xml. ... Read More

How to detect Android user agent type in general using kotlin?

Azhar

Azhar

Updated on 18-Aug-2020 09:13:09

514 Views

This example demonstrates how to detect Android user agent type in general 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 add a line break in an Android TextView using Kotlin?

Azhar

Azhar

Updated on 18-Aug-2020 09:08:47

997 Views

This example demonstrates how to add a line break in an Android TextView using Kotlin.space_on_android_devicesStep 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 Check available space on Android devices using Kotlin?

Azhar

Azhar

Updated on 18-Aug-2020 09:06:14

837 Views

This example demonstrates how to Check available space on Android devices 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 pass drawables between activities in Android using Kotlin?

Azhar

Azhar

Updated on 18-Aug-2020 09:03:20

346 Views

This example demonstrates how to pass drawables between activities 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