I am working on a project in which the user fills out a questionnaire, and the answers are then sent to the server. For simplicity, I just saved two questions on the screen and after pressing the next command the user receives the following two questions. I used the lwuit structure in this project.
To reduce memory requirements, I create form , questLabel1 , ansCombo1 , questLabel2 and ansCombo2 only once. and their properties are set in accordance with the current frame (screen). The problem is that you are in form 2 and scroll to the last option, and then press the next button, since you scroll through the form, it does not display the top components, even in the next form I tried so many things. creating a new instance of the form may work, but I do not want to use this, for obvious memory reasons,
Any other solution?
thanks in advance,
source share