Skip to content Skip to sidebar Skip to footer

Using The Master/detail Template In Viewpager Fragments (download Link)

Working code: https://github.com/lukeallison/ViewPagerMasterDetail Android Master/Detail Flow template: http://developer.android.com/tools/projects/templates.html#master-detail-act

Solution 1:

Bug fix. The List in fragment_item_list.xml now displays the last element of the List on initial and subsequent layout inflation. I added <style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar"> to style.xml and ((AppCompatActivity)getActivity()).setSupportActionBar(toolbar); to the initLayout method of ItemListFragment.java.


Post a Comment for "Using The Master/detail Template In Viewpager Fragments (download Link)"