Quantcast
Viewing all articles
Browse latest Browse all 8068

Managing Views - Muliple adds

I've looked at this widget:

https://github.com/dharmik/Slider-Like-Facebook-working-in-both-android-and-iOS

It works perfectly, but I've a question regarding it.

When a menu row is clicked a new controller view is loaded into drawermainview, no other action are taken... What will happen if I click many time the menu rows?

I mean: in drawermainview I suppose to find all the views added by every click, not just the last one clicked (as I see on screen).

If I'll use this code I suppose it's better to "clean up" drawermainview before adding new controller's view... am I right or I'm misunderstanding the app behavior??

In case I'm right is removeallchild the best way to "clean up" that view?

Thanks


Viewing all articles
Browse latest Browse all 8068

Trending Articles