Count lines in .txt file and addChilds with scrolling
Hello everyone, and good day. I have question. I know how to load information from external txt file. But i need to do this:
I have *.txt file for example:
2018 - 05 - 24 - 14:30 from..
2018 - 05 - 25 - 14:30 from..
2018 - 05 - 26 - 14:30 from..
2018 - 06 - 01 - 14:30 from..
2018 - 06 - 24 - 14:30 from..
2018 - 12 - 24 - 14:30 from..
2018 - 12 - 24 - 14:30 from..
I need that flash count how many lines are in txt file, in this case 7 so i need to add 7 childs and fill textfields with information to every child. So i need 7 childs with different information in text fields from txt file. But in screen i want to see just 4 and others i want to see just when i scroll. Maby have some ideas how can i do that?
And i iff i add new line flash detects that and add another one child, if i delete line flash detects that and delete child.
?
Maby someone can help with this?
