LibSlideMenu icon indicating copy to clipboard operation
LibSlideMenu copied to clipboard

How is the correct mode to use this lib, with fragments or activities?

Open pedrofsn opened this issue 12 years ago • 1 comments

I think it's the first case, fragments, the correct mode was any MenuItem call a update of the master fragment.

If the correct mode was with activity, i think it's necessary have a master activity and all the other activities extends master activity.

How is the correct mode? How i've to call the other fragment/activity by the onSlideMenuItemClick? Is it a intent?

pedrofsn avatar Feb 15 '13 16:02 pedrofsn

Well, we used it with activities here - one abstract BlaBlaActivity that would implement the SlideMenu interface and switch between child activities that extend it. In case you wanna use the SlideMenu as a means of navigation between different screens/activities, that is...

TBH, I never used it with fragments. Though there is actually no reason not to.

HTH, C.

bk138 avatar Feb 15 '13 21:02 bk138