private void showDialog(PermBean permBean) {
        PermissionDialogFragment fragment = PermissionDialogFragment.getInstance(permBean, requestCode);
        fragment.show(mActivity.getSupportFragmentManager(), TAG);
    }
private void showDialog(PermBean permBean) {
        PermissionDialogFragment fragment = PermissionDialogFragment.getInstance(permBean, requestCode);
        fragment.show(mActivity.getSupportFragmentManager(), TAG);
    }
private void showDialog ( PermBean permBean ) { PermissionDialogFragment fragment = PermissionDialogFragment . getInstance ( permBean , requestCode ) ; fragment . show ( mActivity . getSupportFragmentManager ( ) , TAG ) ; }
Show dialog fragment to show dialogs before asking permission.
Or you can set to show dialogs only when user denied permission earlier.

@param permBean {@link PermBean} wrapper class
with Permission and respective messages.
Show dialog fragment to show dialogs before asking permission . Or you can set to show dialogs only when user denied permission earlier .