What do you mean this little light thing in Android Studio?

this blue-green color
e9fcd8a251c34cefa4872af974a44734.png

and how to transfer data in ListAdapter?

in aktiviti do first
AssetListAdapter<asset> adapter = new AssetListAdapter<asset>(this, (ArrayList<asset>) queryResults);
listView.setAdapter(adapter);</asset></asset></asset>


inside adapter:
private ArrayList<asset> list;

public AssetListAdapter(Context Context, ArrayList<asset> data){
 list = data;
 LInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
}

...

@Override
 public Asset getItem(int i) {
 return list.get(i);
}

@Override
 public View getView(int i, View convertView, ViewGroup parent) {

...

 Asset item = getItem(i);
 //and this item can not do anything, although the item.getClass() shows Asset 
}</asset></asset>


and after that I heard the opinion that the ListView is outdated and you need to go to RecycleView.
but Google says that
1) there may be problems with older versions, you need to set additional libraries. we can start it on 4.1?
2) there is some shamanism with handling clicks on items. is it?
July 9th 19 at 10:43
1 answer
July 9th 19 at 10:45
This type of data(generic)
1) 4+ everything is OK with recyclers
2) there is.

Find more questions by tags AndroidAndroid Studio