Am using an array list that holds 5 images which change after an interval of 5seconds on the viewpager2 using handler and runnable,the images change perfectly well from the 1st image to the 5th image and restarts the process again using slide transition, the problem i have is changing the animation as it restarts running through the item images it
Tag: android-viewpager
How can i pass values from sqlite database to viewpager?
There is my model. (Card with two questions) This is my Activity. Adapter pass values from ArrayList to the ViewPager. In this class I create DataBase and try to pass values from cursor to ArrayList in MainActivity, but, when I start to debug, the debugger shows me that ArrayList in MainActivity is not filled with values. What I should do
Simple swipe screen using VIewPager2 (Java)
I am trying to create layout which will show three screens which could be changed by swipe or by button. Between those buttons should be dots indicator of selected page. I spent many time searching of samples how to do it, but usually I stucked on some issue. I don’t need option of dynamical adding of fragments. The best and
how to get access to button in viewPager
i would like to ask about ViewPager i had created 2 layouts in viewPager where you can slide between them. but i totaly do not know how to gain access to buttons inside of theese 2 views. so how could i call something inside of one of theese views? this does not trigered the onclicklistener. please help thanks. Answer you
How to increase tab height in xml without changing position. Also viewpager goes behind tab layout
Please help me. I have a tab layout and a viewpager. I have 2 problems. I want to decrease the height of tablayout. Also while scrolling(a list view in the page) as the viewpager is behind tab layout , the tab layout hides some elements of the list. Please help me solve the problem!!! The problem can be resolved but