https://kotlinlang.org logo
Title
u

user

07/06/2022, 3:31 AM
java.lang.RuntimeException: BindCustomDialogFragment is not annotated with Layout QUESTION IS FOR KOTLIN IN ANDROID STUDIO. I am having trouble attaching a BindCustomDialogFragment() to a recycler view. This is the fragment that I'm trying to attach: @SuppressLint("NonConstantResourceId") @FragmentLayout(R.layout.spa_new_box) class SpaNewBox : BindCustomDialogFragment() { companion object{ private var f : SpaNewBox ?= null fun dialog() : SpaNewBox { if(f !=null){ f?.dismissAllowingStateLoss() f =null...