Questions tagged as 'android-viewpager'

0
answers

Parallax effect in ViewPager using Glide

I'm using glide to load the images and apply the ViewPager to visualize them horizontally. I would like to add to these images the Parallax effect (that the image moves slower to the viewPager). For this reason, when having a horizontal list...
asked by 02.02.2017 / 16:57
1
answer

Scrolling a ViewPager

I have an app that contains a ViewPager with its 3 Tabs. When going from the first to the second it is normal, but from the second to the third it gets a bit slow, it should be noted that in the third one I have a gallery of images that a...
asked by 29.03.2016 / 02:14
1
answer

Sort View Pager

I was working with ViewPager and I had a problem. I have 3 layout created (screen1, main screen, screen2) that I want to show that way, that the application opens showing the main screen and that when I slide to the left it shows the screen1 and...
asked by 04.10.2016 / 01:26
2
answers

Get ViewPager index displayed on Android screen

I have a ViewPager located at the bottom of my app, and I'm trying to get its index, id or any reference to the ViewPager that is displayed on the screen so that depending on which is displayed, the button they share makes an action u another in...
asked by 25.05.2017 / 10:20
1
answer

When rotating the screen, the instances of the controls are lost?

Curiously enough I have not had problems with rotating the screen and controls, until now, I have my controls, until the Fragment arrived I have that happy problem when rotating the device loses the instance of the controls:    java.la...
asked by 16.12.2016 / 18:42
1
answer

Gallery full screen images

Good morning everyone. I wanted to show a gallery of images that occupy the whole screen, and I saw the option of viewFlipper. The code works perfectly, but it takes a long time to load when the images to be displayed exceed 5. How can I o...
asked by 29.10.2017 / 20:03
1
answer

How to store the values of the controls of a Fragment with viewpager?

already implement several things and simply do not find as, good step to the point:  I have several fragments that I display with the viewpager, I want to save the data that is in the fragment controls, for this I have a function in the fragment...
asked by 13.10.2016 / 20:52
1
answer

Pass data between Fragments

I have done a ViewPager, with tabs to navigate between the different fragments (3). My idea was to have in the first fragment a list of CheckBox with the names of companies, and that when you slide to the second fragment, in which I have a ma...
asked by 07.04.2017 / 13:17
1
answer

Show the first text of the ViewPager in Android Studio obtained from an array

I am doing a project that consists of the following: When the application starts, a list of countries is displayed, the code of that activity ... public class MainActivity extends AppCompatActivity { ListView listView; Arrays arrays;...
asked by 16.09.2018 / 17:38
1
answer

Content ViewPager is deleted when exiting the fragmen and returning with the button back

I have several fragments which have several tabs, the problem is that when changing the fragment and returning the button behind the navigation bar, the content does not appear, only the bar appears with the titles of the tabs. This is my tab...
asked by 21.03.2018 / 20:46