How to Display a Desirable Result of Looping Array in RecycleView
Clash Royale CLAN TAG #URR8PPP How to Display a Desirable Result of Looping Array in RecycleView today I get result of two array, which is this result is undesirable. For example, I have a data like this: <string-array name="player"> <item>CR7</item> <item>Sergio Ramos</item> <item>Ozil</item> </string-array> <string-array name="posisi"> <item>Stricker</item> <item>Defender</item> <item>Winger</item> </string-array> and when I try to fetch data using looping array, the result is like this: undesirable result I wish, I can fetch the data, and display them like this: Desirable result Can you fix this problem? ModelDoa.java public class ModelDoa { public static final int DOA_PAGI = 0; public static final int DOA_SORE = 1; private String mName; private String bName; private int mType; public ModelDoa(String name, String butong, int type) { this.mName = name; this.bNam...