Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialRicky Sparks
22,249 PointsHow would one add a dialog pop-up after timer out in snapchat app
Dialog: -after snapchat photo is done counting down -prompt user with yes or no
Ricky Sparks
22,249 PointsSo the picture is done counting down and then user can click yes or no. The picture also want be deleted
Ken Alger
Treehouse TeacherSo the results of the popup would determine if the picture is deleted or not?
Ricky Sparks
22,249 Pointsnote: home room is over get back when school lunch is in sorry..
Ricky Sparks
22,249 PointsThe picture will be saved but not view-able again until both two users agree on the photo exchange.
I watched a video: that showed alert dialog code being added to MainActivity.java but I think in my case I should add it in ViewImageActivity.java
Ken Alger
Treehouse TeacherKen Alger
Treehouse TeacherRicky;
Are you wanting to reset the timer after the user responds "yes" and continue on to the delete functionality if they select "no", or something similar?
Ken