• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

android studio code statement syntax. whats wrong?

lovingdog

Lurker
what is wrong with this code? i am a beginner.
code:
Toast.makeText( context: MainActivity.this, text:"hey there!",toast.LENGTH_SHORT).show();
 
Last edited:
Back
Top Bottom