It's a serious memo. Basically, I do it with the spirit that I just need to know myself. First of all, the current problem In name.setText (lvl.get (i) + "\ r \ n" + sample.get (i) + "pieces" + "\ r \ n") that was turned into one TextView with a for statement, I want to display something other than the one whose contents are not 0, but only the last one is displayed. The reason is probably because the value of i has been rewritten. Then what should I do? What I'm trying to do now is to put the contents of sample (i) in the array ary (provisional) if the if statement is other than 0 after the for statement, and as soon as the conditional expression is completed, add strcmp to the for statement below it (provisional) If you display the contents, you should be able to select the ones other than 0 ... But in the end, only one is displayed. .. .. I'll be worried for a while
Recommended Posts