Search in sources :

Example 1 with AddTagDialog

use of com.quran.labs.androidquran.ui.fragment.AddTagDialog in project quran_android by quran.

the class QuranActivity method onAddTagSelected.

@Override
public void onAddTagSelected() {
    FragmentManager fm = getSupportFragmentManager();
    AddTagDialog dialog = new AddTagDialog();
    dialog.show(fm, AddTagDialog.TAG);
}
Also used : FragmentManager(android.support.v4.app.FragmentManager) AddTagDialog(com.quran.labs.androidquran.ui.fragment.AddTagDialog)

Example 2 with AddTagDialog

use of com.quran.labs.androidquran.ui.fragment.AddTagDialog in project quran_android by quran.

the class PagerActivity method onAddTagSelected.

@Override
public void onAddTagSelected() {
    FragmentManager fm = getSupportFragmentManager();
    AddTagDialog dialog = new AddTagDialog();
    dialog.show(fm, AddTagDialog.TAG);
}
Also used : FragmentManager(android.support.v4.app.FragmentManager) AddTagDialog(com.quran.labs.androidquran.ui.fragment.AddTagDialog)

Example 3 with AddTagDialog

use of com.quran.labs.androidquran.ui.fragment.AddTagDialog in project quran_android by quran.

the class QuranActivity method addTag.

public void addTag() {
    if (!isPaused) {
        FragmentManager fm = getSupportFragmentManager();
        AddTagDialog addTagDialog = new AddTagDialog();
        addTagDialog.show(fm, AddTagDialog.TAG);
    }
}
Also used : FragmentManager(android.support.v4.app.FragmentManager) AddTagDialog(com.quran.labs.androidquran.ui.fragment.AddTagDialog)

Example 4 with AddTagDialog

use of com.quran.labs.androidquran.ui.fragment.AddTagDialog in project quran_android by quran.

the class QuranActivity method editTag.

public void editTag(long id, String name) {
    if (!isPaused) {
        FragmentManager fm = getSupportFragmentManager();
        AddTagDialog addTagDialog = AddTagDialog.newInstance(id, name);
        addTagDialog.show(fm, AddTagDialog.TAG);
    }
}
Also used : FragmentManager(android.support.v4.app.FragmentManager) AddTagDialog(com.quran.labs.androidquran.ui.fragment.AddTagDialog)

Aggregations

FragmentManager (android.support.v4.app.FragmentManager)4 AddTagDialog (com.quran.labs.androidquran.ui.fragment.AddTagDialog)4