Recyclerview Adapter Of Array Pojo Class With Inner Array Class
This is somewhat confusing albeit I believe it to be simpler than what I think. I have a class called Commodities and a class called Stops, the stops class takes in an array of com
Solution 1:
The function getCommodities()
returns an array.
public Commodities[] getCommodities() {
return commodities;
}
You should select and item from the commodities returned so you can access the information of that element
mItem.setText(stop.getCommodities()[index].getItem());
Post a Comment for "Recyclerview Adapter Of Array Pojo Class With Inner Array Class"