use of com.nightonke.saver.adapter.DialogSelectListDataAdapter in project CoCoin by Nightonke.
the class ReportViewFragment method showSelectListDataDialog.
private void showSelectListDataDialog() {
if (selectListDataAdapter == null) {
selectListDataAdapter = new DialogSelectListDataAdapter(selectListData);
}
new MaterialDialog.Builder(mContext).title(R.string.report_select_list_title).cancelable(false).negativeText(R.string.cancel).adapter(selectListDataAdapter, new MaterialDialog.ListCallback() {
@Override
public void onSelection(MaterialDialog dialog, View itemView, int which, CharSequence text) {
dialog.dismiss();
makeReport(which);
}
}).show();
}
Aggregations