Friday, May 10, 2013

[android-developers] Share Dialog

Hi!

I've been looking for a while and I have not managed to figure out how to make a protected Dialog onCreateDialog (int id), which can be accessed from several activities by id sent by ShowDialog (id)

With public void Dialog onCreateDialog (int id) enough I guess, but the problem is, that according to the user to choose one option or another, you must go to an activity or another, and that's the part that I can not implement or understand how should.

For example, if striking B will accept me, and if I click cancel I go to C.
Right now I have repeated onCreateDialog protected Dialog (int id) in each activity and managing their own dialogue, something I think that nothing is efficient.

Any idea where to get the shots?


Thanks


P.D. Sorry for my english

--
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate