Error in SherlockFragment when switching items in slide Menu
I'm having lot of problems when implementing ActionBar Sherlock, the last
one is this one. I have an Slide Menu whith 3 options in my ActionBar. My
problem is that when I choose one item (it load a fragment) that has been
previously selected the app crash. The log error is
The specified child already has a parent. You must call removeView() on
the child's parent first.
It mark a line where I add view to a HorizontalScroller.
lls.addView(mviews.get(i));
In my OnCreateView I have
final View v = inflater.inflate(R.layout.activity_landing, container,false);
container.removeAllViews();
I haved tried many different ways posted here, but I don't get thw
solution to my problem. Any ideas?
No comments:
Post a Comment