i've got an AlertDialog (here's a snippet)

AlertDialog.Builder builder.setPositiveButton("OK", new
DialogInterface.OnClickListener()
                                {
                                    public void onClick(DialogInterface dialog, 
int id)
                                    {
                                           ???.findViewById(R.id.code);
                                    }
}

once the user clicks ok - i'd like to get a value of the control
within
the dialog (my layout)

because of scoping i can't user builder or the alertdialog.

how can i get the value of the control from within the onClick()




-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to