Android Question View not initialized

Cenny

Active Member
Licensed User
Longtime User
Hi,
I build an activities UI completely up in code.
However, later I decided to use the designer to do this job.
Ì have commented out all the code and compiled the app.
Then using the designer rebuild the UI.
I used the option to generate members to declare and initiate the views
When I run the app, I get the error "view not initialized"
How can I fix this.

Thanks for your help
Cenny
 
Tools - Clean project...
 
Upvote 0
Could you please export your project as ZIP file and upload it here so we can help you better regarding this problem.
because we can't provide a solution without seeing where the problem is occurring.
I found the problem.
I addressed the view before the designer file was loaded.
 
Upvote 0
Back
Top