<notifyDataSetChanged() is not working when observ...
# stackoverflow
u
notifyDataSetChanged() is not working when observer list update data When i observe data from observer list notifyDataSetChanged() is not working help will appreciated categoryModel.mainCategoryList.observe(requireActivity()) { when (it.status) { Status.SUCCESS -> {if (it.data?.statusCode == 200) { viewBinding.shimmerViewContainer.visibility = View.GONE viewBinding.shimmerViewContainer.stopShimmer() categoryList = ArrayList()...