dialogs-binding-demo
dialogs-binding-demo copied to clipboard
Demo project for Modile People: Open Android Meetup
Dialogs
The demo project contains all three solutions for dialogs show up. You can run any of them via clicking "Solution #" button. Notice, that for "Solution 3" demo contains both cases with embed view and DialogShowingView
.
For instance you can start "Solution 1" like this:

Or you can start "Solution 3" for both scenarios like this:

To simulate "Duplicated state" problem for both solutions 1 and 2 you can follow the next steps:
- Open the required solution in the demo application;
- Press "Home" button;
- Press "Terminate Application" in Logcat window in Android Studio (this will kill the app process, make sure you select your device and process in Logcat dropdowns at top);
- Get back to the application through the "Recent apps".
Toasts
The demo project contains demo of the "State problem" for ToastView
. You can check it following the steps from the gifs below.
With problem:

With problem fixed:
