Hello and nice meeting you all.
My name is George, I am sending this message from Greece.
I am 52, amateur with some knowledge, but not much.
I have made the simplest possible app, just a screen with a list view.
Entered manually comma separated values that in every row
mention a code and a description, eg. 123456 Product1 in Greek.
It is working properly and with the search function.
But every item shown takes two rows with the second one blank.
I have made some cosmetic modifications like colours etc but I have
chosen for sure "Main Text Layout" as seen in pictures.
While in MIT App Inventor seems fine, in my phone shows the problem.
Can you please tell me if this is an error from my side, a bug or something else?
I have also tried with an empty line as follows:
,
599209 ΚΑΡΠΟΥΖΙΕΡΑ,
1887116 ΚΑΛΑΘΟΥΝΕΣ,
2664316 ΜΠΛΕ ΠΑΛΕΤΕΣ,
3222213 ΤΕΛΑΡΑ ΠΡΑΣΙΝΑ,
3222221 ΤΕΛΑΡΑ ΚΟΚΚΙΝΑ,
3995719 ΨΕΥΔΟΠΑΛΕΤΕΣ,
but again there is the second line space.
Hello ABG, my apologies but I would prefer not to upload the whole .aia
I have succesfully added my coworkers personal details
and I do not have their approval to upload this data...
Oh, I am sorry, I didn't mention, I have no blocks added.
Just a List view and a copy paste of the .csv values.
So, blocks screen is complete empty.
Here is the complete app,
Buttons do lead to another screen as follows:
"codes"
"codes2"
"people"
"exit"
There are actually not much of block work that I had to do.
People is just a data sensitive part and I do not upload images and details.
Everything works fine, except this double row thing in List View.
Allow me to explain that I would like to read more in time and replace
the List with a TinyDB object with add product options.
So if you think that it does not worth bothering for the issue it is ok,
it works even this way, including the "search list" option.
It is just aesthetic issue and some waste of screen space.
Ok now I get your question, by seeing the answer below.
I didn't use a .csv file by itself but entered manually the data
in Elements From String box of List View.
There you are! So the problem is with you the method you follow. Just try the way as suggested by tim. It seems your enter key (supports multiline) was read by the block and throws the above said your design
May be trim text block may remove your entered text into listview may solve your problem, if i am correct
Thank you both for replying, it was really helpful
Yes both methods do work! (I deleted an unused block, hope it's ok)
I will study the blocks in order to understand the functions called.
There are so many possibilities building useful things here. Yet,
this app is exactly what I wanted to do. Everything is perfect now.