<@U096EGZ6U>: I think I just found the issue, but ...
# android
a
@cy: I think I just found the issue, but I don’t fully understand it… :(
Copy code
abstract class BaseViewModelActivity<VM : BaseTripViewModel> : BaseActivity() {
  protected lateinit var attr1: String
  protected lateinit var attr2: String

  protected lateinit var viewModel: VM
  
}

public class XzyActivity: BaseViewModelActivity <XzyViewModel>() {

	override public fun onResume() {
		view.setSelectedListener { item, state ->
      		viewModel.changeItemState(item, state)
    	}
	}

}