ruairimcguigan / dialogfragmentdemo Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/dialogfragmentdemo
Automatically exported from code.google.com/p/dialogfragmentdemo
What steps will reproduce the problem?
1. Open the application
2. Type data in dialog
3. Rotate the device's orientation, allowing screen to rebuild
4. Notice the dialog is rebuilt, without the entered text
5. Press back
What is the expected output? What do you see instead?
The entered text is expected to remain during orientation changes, and for the
alert to dismiss after pressing back, instead of showing the previously spawned
dialogs.
What version of the product are you using? On what operating system?
ICS, in simulator
Please provide any additional information below.
I know this is just a sample on how to build dialogs with fragments, but it
would be great to show an example that correctly handles orientation changes.
The solution is to not always fire the dialog up in onCreate, and properly call
back when the view is dismissed instead of submitted. Right?
Original issue reported on code.google.com by cdb273
on 21 Jun 2012 at 6:07
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.