Hi everyone - I'm new to Andoid development. I'm currently working on an app that has a number of views within a Gridview (Imageviews, Textviews and Linearlayout). Upon clicking the mouse button I would like to replace the existing views with new views. Where I currently have an imageview for example could be replaced with a TextView.
I cannot figure out how to do this - I have tried various calls which suggest they delete these objects and the code does compile but then when I run it it crashes.
Any suggestions on how to do this would be appreciated.
I cannot figure out how to do this - I have tried various calls which suggest they delete these objects and the code does compile but then when I run it it crashes.
Any suggestions on how to do this would be appreciated.