I have a layout which is loaded onto two different panels, which are part of a single activity:
Panel1.LoadLayout("Layout1")
Panel2.LoadLayout("Layout1")
Layout1 has an edittext View. When I refer to the edittext View in code, for example:
edtView.Text = "Text"
I can only refer to the one that was loaded in the last LoadLayout, which is Panel2. How can I reference the edittext View of Panel1?
Any help will be appreciated.
Panel1.LoadLayout("Layout1")
Panel2.LoadLayout("Layout1")
Layout1 has an edittext View. When I refer to the edittext View in code, for example:
edtView.Text = "Text"
I can only refer to the one that was loaded in the last LoadLayout, which is Panel2. How can I reference the edittext View of Panel1?
Any help will be appreciated.