Change the dynamic presentation of content

I am new to android and trying to figure out how to change as I see contentViewfit.

Right now, I have TableLayoutcontent in the view, and it was installed using the method setContentView(TableLayout).

However, if I wanted to change this contentview as part of the same action, how would I call it? Would I just call the same method as:, setContentView(TableLayout2)or do I need to clear the screen first?

What is the procedure for staying within the same action and changing the content on the screen?

Thank!

+3
source share
1 answer

This answer may help.

, . , ViewFlipper ( FrameLayout) .

+4

Source: https://habr.com/ru/post/1796534/


All Articles