I read this somewhere here and I totally lost it, but could use some assistance.
My app is pulling the column names from sqlite into an array. I want to create a textview and edit text for each one (via the size of the array), and I remember reading somewhere that you can treat the textViews variable names like an array, but I don't know where that is now.
So how would I dynamically create a textView and editText for however many listings are in an array?
It was something like
TextView tv[] = new TextView()...
for(...){
tv[i]...
}
Is this right?
I appreciate your help!
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…