486 questions
1 vote
1 answer
50 views
Vertical paging using TabView breaks layout in SwiftUI
I'm working on vertical paging, using TabView. I put player code in TabView and rotate it to show vertical paging, but UI breaks. Vertical Pager struct EpisodeVerticalPager: View { let episodes: ...
0 votes
0 answers
67 views
git pager over ssh terminal connection
I have problem with getting git pager working when I have ssh connection. I am using latest windows terminal and the remote is a ubuntu 24. This config does not use less when I am running ie. git log ...
0 votes
0 answers
62 views
How can I change the pager type after x pages programmatically in Drupal views?
A View in Drupal returns several hundred of items. For user's comfort I want the first pages to be loaded automatically using ajax. For this I use the "infinite_scroll" pager module. I load ...
0 votes
1 answer
65 views
How can I configure which CLI command is used to render the result of "git branch"? [duplicate]
When I run git branch on certain machines, I get a simple list of branches using what seems like the result of running the cat command. However, especially on machines running ZSH, it seems like the ...
3 votes
0 answers
105 views
Remote mediator with Room's PagingSource sometimes returns 0 items
I have two feeds in my Android application. One is for friends' posts and the other is recommended ones. So these are first two tabs. For both I use Pager 3 Remote Mediator and Room's paging source, ...
0 votes
1 answer
125 views
How can I use with jetpack HorizontalPager with HorizontalPagerIndicator on NavHost controller
I have nine screens and I want use NavHost with HorizontalPagerIndicator.
1 vote
0 answers
38 views
how can i make the pager less extensive when i hace many information
well in my code i have a pager, but when i have many information it become too long so much that I can't go back to the first page, i need make it like a google pager . i tried to reduce the variable $...
3 votes
0 answers
467 views
jetpack compose VerticalPager with first page with different PageSize
I'm trying to create a VerticalPager, where the first item in the pager is kind of a "header", therefore I want it's height to be smaller then all the other pages. so the height should be ...
2 votes
0 answers
258 views
Jetpack compose Horizontal Pager content scroll effect is not smooth
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
1 answer
412 views
animateColorAsState depending of a progress from 0 to 1
I have a Pager from which I get the position progress from 0 to 1. I would like to change the background color of the Surface that contains the Pager depending on the PagerState the same way I was ...
1 vote
1 answer
165 views
How to get `kubectl` to pipe mulitpage output to a pager?
In git I can use: git config --global core.pager "less -FX" This will: When an output is longer (like git log) than a single page a pager (less) is used When output is short, it is not Is ...
0 votes
1 answer
48 views
iOS CollectionView Pager does not display preview of cells on next page
I am using a collectionview to create a pager. The pager shows 4 cells and is scrolling by another 4 (the number does not matter). The first cell of the 2nd page should be visible at the edge, as a ...
2 votes
2 answers
5k views
Jetpack Compose Pager change currentPage
Is there a manual way or an appropriate way to change the current page for a Pager? I may be breaking some written rules, but essentially I am updating the content of pages, but not changing the ...
0 votes
0 answers
46 views
How to enable horizontal scroll on `less` with trackpad?
I want to use my trackpad in macOS to scroll less horizontally. Is there a way to do this?
1 vote
0 answers
473 views
How to stop auto scroll VerticalPager jetpack compose if user swiping?
I have VerticalPager and demo auto scroll for him in LaunchedEffect. I want 3 conditions to stop auto scroll: Stop after scroll of 3 slide - done this in code it`s ok Stop on button press - done this ...