The compiler is showing error Kotlin: Variable 'mAdapter' must be initialized

后端 未结 0 1360
无人及你
无人及你 2020-12-30 09:53

code:

private val mAdapter: BaseAdapter = createAdapter(R.id.adapter) { listPosition: Int ->
            mAdapter.notifyItemChanged(listPosition)
}
         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题