Skip to content

Instantly share code, notes, and snippets.


initishbhatt/MainActivity.kt Secret

Created Apr 12, 2018
What would you like to do?
class MainActivity : AppCompatActivity() {
private lateinit var nativeStore: NativeStore
override fun onCreate(savedInstanceState: Bundle?) {
nativeStore = NativeStore()
// Example of a call to a native method
sample_text.text = nativeStore.stringFromJNI()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment