Home > Mobile >  Small white flash back problem inquired of Listview
Small white flash back problem inquired of Listview

Time:12-05

Listview to make flash back after running the demo Adapter 42nd line error, if the getCount returns a value of 0, is not an error, but does not show Listview, what reason be excuse me? My getCount return value mList. The size () is 2

CodePudding user response:

This is the error log

CodePudding user response:

Under Caused by already say very understand, the SRC ImageView R.d rawable. Timg was wrong

CodePudding user response:

Resources timg is wrong, why getCount 0 will not complain, should not load list couldn't get to it, you this adapter convertView ViewHolder and reuse optimized, can try, of course now RecyclerView implementing list is better,
  • Related