Answer the question
In order to leave comments, you need to log in
How to store data without knowing the number of rows?
Hello, I'm new to development and watching a course with Udemy ( https://www.udemy.com/course/android-kak-po-notam-a/). I learned how to save the usual EditText, Spinner, etc. data in SQLiteOpenHelper.
But there is a task, to implement the saving of tabular data, see the screen.
The user enters all the fields and if you want to add more, there may be 1 or 10 machines, as if through the Add button a new field appears and the data is filled in.
Is it even possible?
How to implement this feature?
Answer the question
In order to leave comments, you need to log in
It may be worth reading the UI manuals, they say that the tabular display is good for viewing, and on mobile it should be compressed or converted into cards, respectively, you need to lead the new Activity to the add record button and add fields already there in the ribbon view, this is of course IMHO.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question