Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
0 answers
49 views

I'm using ViewPager2 with Fragment to load content. The ViewPager2 uses an adapter that is a subclass of FragmentStateAdapter. After rotating the screen orientation, the ViewPager2 ends up stuck ...
0 votes
0 answers
53 views

I am trying to make it possible for my users to click a post and scroll both up and down to newer/older posts and while scrolling down to older post is working just fine, when trying to implement ...
0 votes
0 answers
29 views

I am trying to get the horizontal offset of a recyclerView on scrolled like ViewPager does within onPageScrolled. This returns a "Value from [0, 1) indicating the offset from the page at position....
0 votes
0 answers
37 views

I am completely new to Android development, and this question might seem silly, but I am trying to implement a card slider inside a fragment in Android. My goal is to have cards slide smoothly based ...
0 votes
2 answers
64 views

I have a view pager set up and running exactly how I want it to. Once the user is done swiping through the images and data, I need to close/exit the view/viewpager. I put a button on the View that ...
4 votes
1 answer
965 views

I have an HorizontalPager in Compose and users are able to remove any item of Pager. When the user removes any item i want other elements move to empty place with an animation. This is actually a ...
0 votes
1 answer
27 views

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 ...
2 votes
1 answer
67 views

I have some issue in order to make ViewPager work as nested navigation part with Bottom Navigation Tab in android Kotlin this is my code : MainActivity.kt class MainActivity : AppCompatActivity() { ...
1 vote
1 answer
119 views

After adding an item at the 0th position on Viewpager2, the item does not scroll/add correctly to the view and shows the current view again after scrolling. The main initial item is not visible after ...
0 votes
1 answer
105 views

[![enter image description here][1]][1]I am getting crazy. My app has view pager , with 6 fragments. Each fragments has sub-fragments into another viewapager ( ~ 4 fragments for each main fragment). ...
0 votes
0 answers
30 views

I have a fragment in Kotlin and I am trying to get data from Firebase. I already get data from Firebase but the code does not works when it comes to add datas to "myPetsList" list. Here is ...
-1 votes
1 answer
53 views

I have a frame layout that wants to fill 50% of the screen reso, then a tablayout below and a viewpager with 3 different fragment layouts based on the tabs. The tabs/viewpager works and shows the ...
0 votes
1 answer
398 views

I have a basic carousel logic, set in ViewPager2.PageTransformer I can observe previous and next views, also have applied scaling. But I need to improve this logic, when it's the first item in the ...
2 votes
0 answers
261 views

I'm trying to create a cover flow carousel effect in Android using jetpack compose like in the image below. Image I almost got the result. But the scroll animations are not smooth.I used translationX ...
1 vote
0 answers
43 views

My issue is the following : I have a NestedScrollView with Bottomsheetbehavior, inside it, there is a viewpager. The viewpager shows a fragment that contains clickable and non clickable elements. Non ...

15 30 50 per page
1
2 3 4 5
...
716

AltStyle によって変換されたページ (->オリジナル) /