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

Out of index C/C++ -

regex - PatternSyntaxException: while using String.ReplaceAll function in java? -

java - Projects which are accessed via multiple (different) IDEs: Ant or Maven? -