android - Calling DialogFragment in Activity -


How can I call DialogFragment in my activity . Calling it in your fragment activity ?

Here is my sample code on my Fragment Activity :

  Private Zero ShowAlertDialog (full title, int message) {AlertDialogFragment alert = AlertDialogFragment CreateInstance (getActivity) GetString (title), getActivity (). Getstring (message); Alert.show (getChildFragmentManager (), "Alert"); }   

alert.show (???, "alert");

Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -