Get correct cursor in CustomCursor Adapter getView()

后端 未结 1 344
时光说笑
时光说笑 2021-01-18 15:03

I have a custom cursor adapter where each row consists of a check box, text view and button. The button is initially set as GONE, when the user selects the check box I want

相关标签:
1条回答
  • 2021-01-18 15:49

    Add c.moveToFirst(); to your constructor before initializeChecked();.

    EDIT

    First thing in your getView add this:

    c.moveToPosition(position);
    
    0 讨论(0)
提交回复
热议问题