0

Should I just initialise and keep both, and set visibility to VISIBLE or GONE depending on the state? Is there a better method? What about memory issues? I would like to have a RecyclerView and a WebView alternately. I want to avoid Fragments - I tried that already and separation of responsibility between Activity, UI and Fragments is a hell.

I keep my UI (inheriting from AnkoComponent) in a separate class, if that matters.

Antek
  • 721
  • 1
  • 4
  • 27

0 Answers0