Created
December 11, 2017 03:48
-
-
Save mitchtabian/24dc7175c1a1b5d37190d48e6b8673b7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mOpenDialog.setOnClickListener(new View.OnClickListener() { | |
@Override | |
public void onClick(View v) { | |
Log.d(TAG, "onClick: opening dialog"); | |
MyCustomDialog dialog = new MyCustomDialog(); | |
dialog.setTargetFragment(MainFragment.this, 1); | |
dialog.show(getFragmentManager(), "MyCustomDialog"); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment