Skip to content

Instantly share code, notes, and snippets.

Last active April 12, 2018 12:23
What would you like to do?
Store to encapsulate all the native functions
class NativeStore {
* A native method that is implemented by the 'native-lib' native library,
* which is packaged with this application.
external fun stringFromJNI(): String
companion object {
// Used to load the 'native-lib' library on application startup.
init {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment