Search in sources :

Example 1 with EditTextAttachmentDialogFragment

use of ve.com.abicelis.remindy.app.dialogs.EditTextAttachmentDialogFragment in project Remindy by abicelis.

the class TextAttachmentViewHolder method handleTextEdit.

private void handleTextEdit() {
    FragmentManager fm = ((AppCompatActivity) mActivity).getSupportFragmentManager();
    EditTextAttachmentDialogFragment dialog = EditTextAttachmentDialogFragment.newInstance(mText.getText().toString());
    dialog.setListener(this);
    dialog.show(fm, "EditTextAttachmentDialogFragment");
}
Also used : FragmentManager(android.support.v4.app.FragmentManager) AppCompatActivity(android.support.v7.app.AppCompatActivity) EditTextAttachmentDialogFragment(ve.com.abicelis.remindy.app.dialogs.EditTextAttachmentDialogFragment)

Aggregations

FragmentManager (android.support.v4.app.FragmentManager)1 AppCompatActivity (android.support.v7.app.AppCompatActivity)1 EditTextAttachmentDialogFragment (ve.com.abicelis.remindy.app.dialogs.EditTextAttachmentDialogFragment)1