Skip to content

Instantly share code, notes, and snippets.

@artem-zinnatullin
Created January 27, 2015 17:32
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save artem-zinnatullin/cfdb32ee1beae23c6c27 to your computer and use it in GitHub Desktop.
Save artem-zinnatullin/cfdb32ee1beae23c6c27 to your computer and use it in GitHub Desktop.
Hello Kotlin On Android
package nice.is.kotlin
import android.content.Context
import android.widget.Toast
class HelloKotlinOnAndroid {
public fun yo(context: Context, text: String) {
Toast.makeText(context, text, Toast.LENGTH_LONG).show();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment