Copy text to clipboard android kotlin example TienAnhvn February 12, 2020 Create a class MainActivity.kt import android.content.ClipData import android.content.ClipboardManager import android.content.Context im... Read more
Clipboard listener Android kotlin example TienAnhvn February 12, 2020 Create a class MainActivity.kt import android.content.ClipData import android.content.ClipboardManager import android.content.Context imp... Read more
How to create recyclerview using kotlin in android studio TienAnhvn January 19, 2020 A Simple example to create a RecyclerView using Kotlin Language. Step 1. build.gradle apply plugin: 'com.android.application' ... Read more
android kotlin - removeAll and retainAll example TienAnhvn January 05, 2020 welcome to the android example blog code today I will introduce you to one of the basic examples of android programming removeAll and reta... Read more
android kotlin - AlertDialog example TienAnhvn January 02, 2020 Step 1. Create a class MainActivity.kt class MainActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?)... Read more
Kotlin Program to Check Whether a Number is Even or Odd TienAnhvn November 09, 2019 In the above program to Check Whether a Number is Even or Odd , a Scanner object, reader is created to read a number from the user's ke... Read more No comments:
Kotlin Program to Swap Two Numbers TienAnhvn November 09, 2019 In the above Kotlin Program to Swap Two Numbers ogrpram, two numbers 1.20f and 2.45f which are to be swapped are stored in variables: firs... Read more No comments:
Kotlin Program to Compute Quotient and Remainder TienAnhvn November 08, 2019 In the above program Kotlin Program to Compute Quotient and Remainder , two numbers 25 (dividend) and 4 (divisor) are stored in the dividen... Read more No comments:
How to Kotlin Program to Find ASCII value of a character TienAnhvn November 08, 2019 In the above program Kotlin Program to Find ASCII value of a character , the character a is stored in variables char, ch. Similar to Java,... Read more No comments:
Kotlin Program to Multiply two Floating Point Numbers TienAnhvn November 08, 2019 In the above program Kotlin Program to Multiply two Floating Point Numbers , we have two floating point numbers 1.5f and 2.0f stored in var... Read more No comments:
How to Kotlin Program to Add Two Integers TienAnhvn November 08, 2019 In this program to Add Two Integers , similar to Java, two integers 10 and 20 are stored in the first and second integer variables, respe... Read more No comments:
Kotlin basic syntax TienAnhvn November 04, 2019 Kotlin files are suffixed with .kt. Package statement The beginning of the code file is generally the declaration of the package: pac... Read more No comments:
Kotlin Android environment build TienAnhvn October 28, 2019 Install the Kotlin plugin Android Studio will install the Kotlin plugin from the 3.0 (preview) version. Open the Settings (Mac is Prefer... Read more No comments:
Kotlin compiles with the command line TienAnhvn October 28, 2019 The Kotlin command line compilation tool download address: https://github.com/JetBrains/kotlin/releases/tag/v1.1.2-2, the latest is 1.1.2-... Read more No comments:
Kotlin IntelliJ IDEA environment setup TienAnhvn October 26, 2019 IntelliJ IDEA free community version download address: https://www.jetbrains.com/idea/download/index.html Once the download is installed, ... Read more No comments:
Kotlin Android tutorial TienAnhvn October 26, 2019 Kotlin tutorial is a statically typed programming language that runs on the Java virtual machine and is called Swift in the Android world... Read more No comments: