Honestly don't try to be clever, just have your own variable that keeps
track of the last kind of content view you set.

Be careful about ViewFlipper, since I believe it means that all of the view
hierarchies will stay instantiated all of the time.

And ultimately, this is the kind of thing that Fragment is for.  Use that.

On Tue, May 15, 2012 at 10:08 PM, Narendra Singh Rathore <
[email protected]> wrote:

>
>
> On Wed, May 16, 2012 at 10:29 AM, Justin Anderson 
> <[email protected]>wrote:
>
>> Still... the ViewSwitcher/ViewFlipper approach is a better one.
>
>
> Ok, thanks. I know using ViewFlipper, and will use that surely.
> But just wanted to achieve my goal in a different way.
> Thanks again for valuable suggestion.
>
> With Regards,
> NSR
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to