Recyclerview not call onCreateViewHolder

前端 未结 30 1398
离开以前
离开以前 2020-11-28 07:04

My RecyclerView does not call onCreateViewHolder, onBindViewHolder even MenuViewHolder constructor, therefore nothing app

30条回答
  •  温柔的废话
    2020-11-28 07:48

    I had the same problem, because I was using android.support.constraint.ConstraintLayout in layout resource. Changing to FrameLayout helped.

提交回复
热议问题