¡@

Home 

2014/10/16 ¤W¤È 08:12:56

android Programming Glossary: editquantity

Get value from DialogFragment [duplicate]

http://stackoverflow.com/questions/12622742/get-value-from-dialogfragment

DialogFragment to return a value to me that was entered in editQuantity when dismissed. But i am not getting any way to make it work... DialogFragment implements OnClickListener private EditText editQuantity @Override public Dialog onCreateDialog Bundle savedInstanceState.. public Dialog onCreateDialog Bundle savedInstanceState editQuantity new EditText getActivity editQuantity.setInputType InputType.TYPE_CLASS_NUMBER..

Get value from DialogFragment [duplicate]

http://stackoverflow.com/questions/12622742/get-value-from-dialogfragment

result from DialogFragment 2 answers I want the DialogFragment to return a value to me that was entered in editQuantity when dismissed. But i am not getting any way to make it work. I can do this by passing the value through the intent but.. public class QuantityDialogFragment extends DialogFragment implements OnClickListener private EditText editQuantity @Override public Dialog onCreateDialog Bundle savedInstanceState editQuantity new EditText getActivity editQuantity.setInputType.. OnClickListener private EditText editQuantity @Override public Dialog onCreateDialog Bundle savedInstanceState editQuantity new EditText getActivity editQuantity.setInputType InputType.TYPE_CLASS_NUMBER return new AlertDialog.Builder getActivity..