I have a table with different columns. instead of creating a text view for each item, I want to have one text view for each line. I want to add each element one at a time to a row string. because some elements may have 1 digit and some others may have two digits, I want to format it.
in Java we do something like:
intn = 7;
System.out.format("%0d", n); // --> "07"
Is it possible to do the same with textview? if so, how to do it. Thanks
source
share