0

How can a toast be done?

For example, when you reply to someone's status on whatsapp, you'll a kinda notification in a black 1-D cylinder and in it is written "sending reply". How is it programmed?

23rd Jan 2019, 3:05 PM
Victor Ekong
Victor Ekong - avatar
3 Respostas
0
Using AJAX I presume.
23rd Jan 2019, 3:56 PM
Zen
Zen - avatar
0
Explain better
23rd Jan 2019, 4:02 PM
Victor Ekong
Victor Ekong - avatar
0
Toast.makeText(this, "your text", Toast.LENGTH_LONG).show(); In this case (this) is your application Context You need to call .show() to display the Toast
23rd Jan 2019, 5:35 PM
Sterben
Sterben - avatar