I am having trouble in implementing databinding in a Dialog. Is it possible?
Below is my xml.
mBinding = DataBindingUtil.inflate(LayoutInflater.from(getContext()), R.layout.dialog_select, null, false); setContentView(mBinding.getRoot()); SelectDialogBean data = new SelectDialogBean(); mBinding.setData(data);