<Android DialogFragment views not updating> I am u...
# stackoverflow
u
Android DialogFragment views not updating I am using a DialogFragment and onViewCreated is called, however the card views do not update their opacity. My code should disable and grey out the card view that is not selected, however nothing changes. I have tried placing the code in onCreateView instead but it does not work as well. class AddBookDialogFragment: DialogFragment() { override fun onCreateDialog(savedInstanceState: Bundle?): Dialog { return activity?.let { val builder = AlertDialog.Builder(it)...