private TextView tv_no;
private OnYesClickListener onYesClickListener;
private onNoClickListener onNoClickListener;
public void setOnNoClickListener(ExitFragment.onNoClickListener onNoClickListener) {
this.onNoClickListener = onNoClickListener;
}
public void setOnYesClickListener(OnYesClickListener onYesClickListener) {
this.onYesClickListener = onYesClickListener;
}
@Nullable
@Override
public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
if (rootView == null)
{
rootView = inflater.inflate(R.layout.fragment_exit,container,false);
this.tv_yes = rootView.findViewById(R.id.tv_dialog_yes);
this.tv_no = rootView.findViewById(R.id.tv_dialog_no);
}
return rootView;
}
public inter