android-FlipView
android-FlipView copied to clipboard
add fragment programmatically
Hello,
also asked on stackoverflow http://stackoverflow.com/questions/33450012/android-fragment-flipview-baseadapter-onclick-add-fragment
i tried to add a fragment programatically to overlay a view on my flipView with buttonclick. This is what i done, it´s work, but overlayed always the previous page.
- defined FrameLayout in xml, container for fragment
- @onClick: sendBroadcast(Intent); //pass context to adapter
- @FlipFragment (i use Fragment for Flipview): registerReceiver, BroadcastReceiver{...replace.commit..} //call here instead inside Baseadapter
Hope you could give a tip to add fragment at current page.
Thanks alot for this great library. Best wishes