android-viewpager
ClasscastException when casting to ViewPager
I am trying to create an application based on the new ViewPager from the compability library. When I copy the lines from the 开发者_开发知识库sample application:[详细]
2023-04-03 11:18 分类:问答Android ViewPager padding/margin between page fragments
Android Market/Google Music seem to be able to开发者_运维百科 have a gap of some sort between the different fragments that are contained in the ViewPager.[详细]
2023-04-03 05:16 分类:问答Android ViewPager + Webview, ClassCastException! Need webview in a viewpager
I am trying to create a horizontal \"listview\" of webviews. As suggested by a previous answer to a question, I am using the ViewPager library from the compatibility pack.[详细]
2023-04-03 04:25 分类:问答Android: Preserve complex view data of Fragments
In my application I have a FragmentActivity that uses a FragmentViewPager. The Fragments have a quite complex structure of views with ListViews and Adapters. The FragmentViewPager appears to destroy t[详细]
2023-04-02 21:57 分类:问答Adapter class: nested in activity?
I\'m writing a PagerAdapter which is to be used with a ViewPager in my application. The example I\'m working from has the adapter as a nested class in the PagerViewActivity class. I believe this giv[详细]
2023-04-02 10:13 分类:问答Why `PagerAdapter::notifyDataSetChanged` is not updating the View?
I\'m using the ViewPager from the compatibility library. I have succussfully got it displaying several views which I can page through.[详细]
2023-04-01 19:54 分类:问答Changing android:configChanges dynamically
I am creating a magazine app which uses a ViewPager and scrolls over different WebViews. Most of the pages are portrait but some of them can be seen as landscape.[详细]
2023-04-01 14:15 分类:问答A bug in ViewPager using it with other fragment
I need your help. I have one Activity with two fragments: one fragment with simple TextView in LinearLayout and other fragment: ViewPager with 3 fragments in FragmentPagerAdapter.[详细]
2023-04-01 12:01 分类:问答Rotation in ViewPager
I have a fragment with ViewPager having WebViews. When i rotate the phone the ViewPager shows the first page. This is because the activity and the fragment is created again. How do i save the state of[详细]
2023-03-31 17:36 分类:问答How to feed data to PagerAdapter
I am using this example to use a ViewPager and a PagerAdapter. But how could I feed the PagerAdapter with data from a adapter like CursorAdapter where I load the data using a CursorLoader?[详细]
2023-03-29 20:47 分类:问答