java - Keep EditText Values after switching layouts -
i have application 2 layouts using same activity-class. in second layout edittexts, when type in , switch main-layout , there second-layout, value of edittexts gone.
i switch layouts using setcontentview(r.layout.[layoutname]);
how can switch layouts without using values?
don't use layouts. use fragments instead.
Comments
Post a Comment