1. Are you ready for the Galaxy S20? Here is everything we know so far!

android studio code statement syntax. whats wrong?

Discussion in 'Android Development' started by lovingdog, Jul 13, 2020.

  1. lovingdog

    lovingdog Lurker
    Thread Starter

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


    #1 lovingdog, Jul 13, 2020
    Last edited: Jul 13, 2020
Loading...
Similar Threads - android studio code
  1. Sheraz Ahmed
    Replies:
    0
    Views:
    67
  2. Nieve1
    Replies:
    0
    Views:
    245
  3. docco2020
    Replies:
    1
    Views:
    395
  4. Gleis
    Replies:
    4
    Views:
    798
  5. emamsa
    Replies:
    0
    Views:
    440
  6. saran ks
    Replies:
    0
    Views:
    357
  7. jstuardo
    Replies:
    0
    Views:
    526
  8. Rascalsailor
    Replies:
    0
    Views:
    531
  9. BillMac
    Replies:
    0
    Views:
    339
  10. jlivingstonsg
    Replies:
    0
    Views:
    353

Share This Page

Loading...