Skip to content

Latest commit

 

History

History
46 lines (34 loc) · 1.25 KB

README.md

File metadata and controls

46 lines (34 loc) · 1.25 KB

Kotlin Advanced Examples

Samples

Sample Description
Realm-Example It is a simple CRUD example using realm
paho-mqtt-android MQTT Example

Android Developer Viersion

  • Build Too Version = 26.0.1
  • Compile SDK Version = 26
  • Target SDK Version = 26
  • Minimum SDK Version = 21
  • Android Studio = 3.0 beta 2

01 Realm Example

Used libraries version

Kotlin 1.1.4
Support libraries 26.0.1
Realm 3.5.0

02 Paho-MQTT Example

Used libararies viersion

Kotlin 1.1.4
Support libraries 26.0.1
paho-mqtt 1.1.1

dependencies

    // Support libraries
    implementation 'com.android.support:appcompat-v7:26.0.1'
    implementation 'com.android.support.constraint:constraint-layout:1.0.2'
    implementation 'com.android.support:design:26.0.1'
 
    // Kotlin
    implementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
 
    // Paho-mqtt-android
    implementation 'org.eclipse.paho:org.eclipse.paho.client.mqttv3:1.1.0'
    implementation 'org.eclipse.paho:org.eclipse.paho.android.service:1.1.1'