Dialogs and Toast 56
Conclusion
In this chapter we have seen that dialogs are used for getting some interaction from the user. The
simple alert dialog could be used for displaying messages. Toasts should be used in case you are
doing some operation and user waits whether it’s a success or failure.