https://kotlinlang.org logo
Title
u

user

07/11/2022, 12:11 PM
Show DialogFragment in Recyclerview Adapter I'm trying to use a DialogFragmemt in an adapter, but it doesn't work as planned. I have listed the Dialog class and the adapter below. DialogFragment (ListsSettings.kt) class ListsSettings : DialogFragment() { override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View { val view: View = inflater.inflate(R.layout.dialog_lists_settings, container, false) return view } } Adapter (AllListAdapter.kt) ->...