• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

The Toast msg doesn't show

 
sasa anali
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello

I'm trying to show a Toast msg in the page but it's not working .. here it is



It works well but to Toas msg doesn't show
Help
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is the onClick method ever executed? How does the code even compile? Activity does not have an onClick method, and neither do any of its superclasses; so the Override annotation should trigger a compilation error.
 
sasa anali
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I removed the onClick and paste it to you, I tried many things, it didn't work

 
sasa anali
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It worked
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic