A ViewGroup that manages the layout for the child views, which the user can swipe between.
-1
votes
2answers
14 views
Android ViewPager, first View is not swiping?
i have a ViewPager component inside a FragmentActivity and am filling it with FragmentStatePagerAdapter and Fragments.
The thing works, there is just one thing i don't want, but maybe it's expected ...
1
vote
0answers
15 views
Show Google Maps V2 markers based on selected tab
I'm using Fragments and ViewPager to show two tabs inside my app. There's a map inside the main activity:
<android.support.v4.view.ViewPager
android:id="@+id/pager"
...
0
votes
1answer
27 views
ViewPager in blank when I return back to the fragment
I have a fragment AroundMeFragment which has a view pager with two fragments MapFragment and ListFragment. When I enter the first time in this fragment all is ok, but when I click an item to enter to ...
0
votes
1answer
34 views
multiple layout viewpager with one fragment
I must clear that I am looking for an example or answer where I can use various differnt layout designs in a viewpager and the data in all the pages would be dynamic and all pages can be interacted by ...
0
votes
1answer
27 views
Android AsyncTask: async-task for each viewpager fragment
I have viewpager and FragmentStatePagerAdapter. And I used AsyncTask in the Fragment because there is calculation process in the Fragment. These fragments will be loaded from ...
1
vote
1answer
20 views
Null Object that is a child of a Fragment
I have a Fragment that is part of a ViewPager. In this Fragment I have a ViewGroup child. Now, why in my MainActivity's onCreate() after having instantiated my ViewPager and adapter, my Container is ...
-1
votes
2answers
18 views
How can i take the atual Fragment(on the screen) from FragmentStatePagerAdapter?
I have a ViewPager and a FragmentStatePagerAdapter, i created my code taking as sample the code in this link: http://developer.android.com/training/implementing-navigation/lateral.html
In this ...
0
votes
2answers
33 views
Update Fragment from ViewPager
I have an Activity with a ViewPager. I also have a Dialog that will retrieve a list with some items that the user will choose. Now, how can I update the Fragment where the Items are supposed to ...
0
votes
0answers
6 views
Use content from CursorAdapter for Fragments in ViewPager
I've got a ListView with 1 to 10000 entries. If one entry is clicked, the user is shown a detail screen for that entry. Now I want to make it possible that the user can swipe through the details of ...
0
votes
1answer
25 views
Removing/Adding a Page to ViewPager
I'm trying to make a layout that is essentially a fragment consisting of 3 vertically scrolling lists. Clicking an item in the list will populate the list to its immediate right with appropriate data, ...
0
votes
0answers
17 views
view pager fire click event of second fragment while showing first one android
I have a problem using view pager in android
I have a button with click event in the second fragment, but this event is fired when I press on the same position of button but on the first event
...
0
votes
2answers
23 views
Change Color TabSelector on v4 ViewPager
Is it possible to change color of selected tab on v4 ViewPager?
I need to use v4 ViewPager, but I don't find any source to customize it.
Just to clarify I need to change the blue color to another one:
...
5
votes
2answers
59 views
ViewPager fragments disappear when change screen rotation
I'm working on android application that contains ViewPager with Fragments, like this:
MainActivity(MainActivityFragment(screenSlideViewPager(Fragments))), which means:
Activity contains Fragment ...
0
votes
0answers
16 views
ViewPager with FragmentStatePagerAdapter overlapps PagerTitleStrip/PagerTabStrip
i am using a ViewPager wich is populated by a FragmentStatePagerAdapter
The Layout of the ViewPager:
<android.support.v4.view.ViewPager xmlns:android="http://schemas.android.com/apk/res/android"
...
0
votes
0answers
9 views
Android: viewpager Touch Events does not Working
I have a webview and ViewPager in LinearLayout.
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:fitsSystemWindows="true"
...