700 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
23
views
Trying to Upgrade App to ViewPager2 and Title of Each Page is Not Displayed
I am trying to upgrade my app from ViewPager to ViewPager2 and need help. I followed the steps outlined in the official ViewPager2 migration guide (Java) provided by Android.
Currently my app is not ...
0
votes
1
answer
39
views
How to swipe TabLayout when used with ViewPager2 in Android?
I have my app working with ViewPager2 and fragments with the menu being shown above the ViewPager2 using a TabLayout, similar to https://developer.android.com/guide/navigation/navigation-swipe-view-2
...
0
votes
0
answers
37
views
LazyVerticalGrid inside ViewPager2 inside LazyVerticalGrid - Jetpack Compose
I want to design a profile screen similar to Instagram, where you have a header, a tab, the content for each tab, and the whole screen is vertically scrollable.
Video of what I'm trying to achieve, ...
0
votes
0
answers
31
views
ViewPager2 Blinking
I'm experiencing an unusual blinking effect during page transitions in my current project using ViewPager2. Interestingly, when I use the same code in a new project, the transitions are smooth.
...
1
vote
0
answers
85
views
WebView inside NestedScrollView in ViewPager2 Shrinks and Does Not Display Content Properly with Multiple Twitter Iframes
I’m working on a layout where I need to display two WebViews inside a NestedScrollView, and this NestedScrollView is placed inside a child fragment of a ViewPager2. The goal is to display HTML content ...
0
votes
0
answers
37
views
createFragment is not called in FragmentStateAdapter when Activity is recreated due to Configuration change
In homescreen it has a main activity, this has a main fragment. Main fragment uses viewPager2 to show widget screens. For 2 pages 2 instances of widget fragments are created.
When system language is ...
0
votes
0
answers
46
views
Glide loading image urls very slow in viewpager2 + Circular Indicator not visible
I'm just trying to fetch 5 images (all less than 50 KB size) from server and then trying to load them into viewpager2 slide show at the top of fragment using glide and urls, also the images are coming ...
0
votes
0
answers
77
views
Xamarin.Android ViewPager2 Requires match_parent
I have a Xamarin.Android app in which I am trying to use ViewPager2. The ViewPager2 is defined in my layout as follows:
<androidx.viewpager2.widget.ViewPager2 android:id="@+id/vpStartScore&...
0
votes
1
answer
27
views
Android:Using ViewPager + Fragment method, how to solve off-screen Fragment participation RenderThread drawing?
Android Using the ViewPager + Fragment method, if Fragment1 has been opened and then cut to Fragment2, then Fragment1 is cached off-screen, it is not visible on the screen, but RenderThread will still ...
0
votes
1
answer
42
views
how can i setup swipe fucntion in androidstudio kotlin
so when I started my project first I modified the MainActivity class inside the OnCreate to initialize the functions for its activity_main.xml (imagebuttons recyclerview background change with switch ...
0
votes
1
answer
106
views
How to make JioCinema HomePage like ImageSlider/ViewPager in Android App? Added video link/pic for better understanding
Please look into this video:
https://jmp.sh/s/CnRVVwdUbpCtlI2yNFVS
I'm interested in creating something similar. Any insights or advice would be appreciated.
For those who prefer not to watch the ...
3
votes
0
answers
120
views
Tablayout with viewpager2 showing two times inside bottom tabs navigation
I am creating an app with bottom tabs navigation. Activity contains a view pager and the first fragment will have another view pager2. Like nested viewpager2. When compiled the tablayout is getting ...
1
vote
0
answers
47
views
Why Touch Event of child Fragments is getting propagated to the parent ViewPager2
(Above is hierarchical structure, Inner view is inside middile view, which is inside Outer View)
So this my understanding of touchEvents given there is no dispatchTouchEvent.
If there is touch event ...
0
votes
1
answer
1k
views
How to create Viewpager Transformation in Jetpack Compose?
I want to create a horizontal scroll and always view the center screen when scrolling.
I found it was created with viewpager2, but when working with Jetpack Composer, I don't know how to create it. I ...
user avatar
user20393696
0
votes
0
answers
335
views
Exoplayer in ViewPager2: Scrolling video back gives flickering
Scrolling Videos down is working as expected but when the user is going back to view previous video it's showing flickering in video.
Currently, my ViewPager2 extends FragmentStateAdapter and every ...