Created
December 23, 2018 05:05
-
-
Save vivek1794/cb3c3ddc29474614a2f1a413cddf8fcb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package xyz.vivekc.kotlinmultiplatformdemo | |
import android.os.Bundle | |
import android.support.v7.app.AppCompatActivity | |
import android.widget.TextView | |
import xyz.vivekc.shared.getDate | |
class MainActivity : AppCompatActivity() { | |
override fun onCreate(savedInstanceState: Bundle?) { | |
super.onCreate(savedInstanceState) | |
setContentView(R.layout.activity_main) | |
findViewById<TextView>(R.id.label).text = getDate() | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment