I'm worried about producing with JAVA and XML, so make a note of what I'm trying to do without forgetting (display in for statement)

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

I'm worried about producing with JAVA and XML, so make a note of what I'm trying to do without forgetting (display in for statement)
The story of forgetting to close a file in Java and failing
Think about what to do with education for young development engineers of SIer (Part 2)
[Java basics] Let's make a triangle with a for statement
Store in Java 2D map and turn with for statement
[Java] Make variables in extended for statement and for Each statement immutable
I want to make a list with kotlin and java!
I want to make a function with kotlin and java!
I tried to make a client of RESAS-API in Java
A note of what I stumbled upon and noticed in catching up with Laravel from Rails
What to do if you get a DISPLAY error in gym.render ()
How to make a groundbreaking diamond using Java for statement wwww
[Java beginner] I got a little deeper understanding of "It's time to use new", so make a note
I want to display images with REST Controller of Java and Spring!
[Java] How to turn a two-dimensional array with an extended for statement
Practice of Java programming basics-I want to display triangles with for statements ①
[JAVA] Project Euler, I got stuck in Q8, so make a note
Practice of Java programming basics-I want to display triangles with for statements ②
How to make an app with a plugin mechanism [C # and Java]
Let's create a TODO application in Java 2 I want to create a template with Spring Initializr and make a Hello world
What to do about "A server is already running ..." that happened without turning off the rails server in the terminal
I tried to make a web application that searches tweets with vue-word cloud and examines the tendency of what is written in the associated profile