notifyDataSetChanged() - IndexOutOfBoundException

后端 未结 1 1178
-上瘾入骨i
-上瘾入骨i 2021-02-10 13:38

I do not understand what is wrong

I am use

  public class UrlArrayAdapter extends BaseAdapter {...      
         ArrayList objects;

            


        
1条回答
  •  星月不相逢
    2021-02-10 14:15

    the solution was simple.

    viewHolder.text
                        .setOnFocusChangeListener(new OnFocusChangeListener() {
                            public void onFocusChange(View v, boolean hasFocus) {
    

    did not work properly, redraw the list of focus has changed and deleted lines chaotic .. agonized for a week a decision was simple, left to fix

    0 讨论(0)
提交回复
热议问题