i'm working in Android Application, i'm looking how to display results from array list after for loop, i want to set every value (heure, minute ...) in another list view after the function of conversion (BCD to Integer) that i'm worked with. thank you for your help!!
Integer[] array = {heure, minute, seconde, jour, mois, year};
ArrayList<Integer> list = new ArrayList<>();
/*Collections.addAll(list, array);*/
for (int value : list) {
temp = value;
temp >>= 4;
result = temp * 10;
temp = value & 0b00001111;
result += temp;
this.total= result;
list.add(this.total);
}
tvGetdata.setText(list.toString());