Search in sources :

Example 1 with InputDialog

use of org.prebid.mobile.drprebid.ui.dialog.InputDialog in project prebid-mobile-android by prebid.

the class PrebidServerSettingsViewholder method openInputDialog.

private void openInputDialog(String title, int type, int format, boolean shouldShowQrScanner) {
    FragmentManager fragmentManager = ((AppCompatActivity) itemView.getContext()).getSupportFragmentManager();
    InputDialog dialog = InputDialog.newInstance(title, type, format, shouldShowQrScanner);
    dialog.show(fragmentManager, InputDialog.TAG);
}
Also used : FragmentManager(androidx.fragment.app.FragmentManager) InputDialog(org.prebid.mobile.drprebid.ui.dialog.InputDialog) AppCompatActivity(androidx.appcompat.app.AppCompatActivity)

Aggregations

AppCompatActivity (androidx.appcompat.app.AppCompatActivity)1 FragmentManager (androidx.fragment.app.FragmentManager)1 InputDialog (org.prebid.mobile.drprebid.ui.dialog.InputDialog)1