I want to use 1 view instance in multiple activities
. (Ignore the reason please) I am curious about the advantages and disadvantages of the following choices:
MutableContextWrapper
for the Custom View (for example:RelativeLayout
) and switchingcontext
to anotheractivity
when that is shown. So, moving view fromactivity
toactivity
.- Using
fragments
.