Questions tagged [scroll-paging]

An implementation for a Scroll-View by providing the ability to snap into predefined frames. Either vertical or horizontal snapping (even both possible)

The goal is to achieve an user experience like page flipping. The whole currently visible area will be pushed outside the screen until it snaps to the next frame - perfectly aligned after the end of the last frame.
It is not possible to center the Scroll-View content between two "pages". When the user release the touch or click gesture the content will scroll either to the previous or the next page.
One thing to mention is that a Scroll-View can have paging enabled in one direction or both (horizontal and vertical).

93 questions
91
votes
21 answers

UIScrollView: paging horizontally, scrolling vertically?

How can I force a UIScrollView in which paging and scrolling are on to only move vertically or horizontally at a given moment? My understanding is that the directionalLockEnabled property should achieve this, but a diagonal swipe still causes the…
NickD
89
votes
15 answers

Paging UIScrollView in increments smaller than frame size

I have a scroll view that is the width of the screen but only about 70 pixels high. It contains many 50 x 50 icons (with space around them) that I want the user to be able to choose from. But I always want the scroll view to behave in a paged…
Henning
  • 2,710
  • 2
  • 17
  • 16
15
votes
1 answer

Stop NSScrollView only on specific values - Like UIScrollView paging

I am working on a Mac OS X app using SDK 10.7 as deployment target. A NSScrollView contains a horizontal list of image thumbnails. The thumbnail which is in the center of the ScrollView indicates the selected image which is shown below the…
Andrei Herford
  • 17,570
  • 19
  • 91
  • 225
8
votes
2 answers

Best way to disable ViewPager paging

I'm developing an app which have a ViewPager as a menu. Each fragment has a bunch of child views which can be ListView, ScrollView, LinearLayout, etc... One of this fragments have a settings button which toggles a settings panel (LinearLayout…
GuilhE
  • 11,591
  • 16
  • 75
  • 116
7
votes
1 answer

UIScrollView scrolls to different position while animating presentation of modal view controller

I'm using a UIScrollView for paging three different UIViewControllers. The pager initializes to display page 1 from start. So the user can swipe left or right from the beginning. When I present a modal view controller from the mid view controller,…
6
votes
1 answer

How to implement on scrolldown pagination in Angular 4

I am new in angular 4. I want to implement scroll pagination in angular 4. Initially I want to show 20 records. After scroll down I want to show next 20. I will do the same till end of list. I tried to implement it using "angular2-infinite-scroll".…
Swapnil Yeole
  • 406
  • 3
  • 12
  • 26
5
votes
1 answer

UICollectionView with CustomFlowLayout How to restricts scroll to only one page per scroll?

I have implemented customFlowLayout in my iOS App. And I have subclassed the targetContentOffsetForProposedContentOffset:withScrollingVelocity with subclassing UICollectionViewFlowLayout. Now my issue is when user scrolls the collectionview it must…
BhavikKama
  • 8,566
  • 12
  • 94
  • 164
5
votes
3 answers

Add UIScrollView with Paging to Existing UIViewController

I'm wanting to add a UIScrollView with paging to go through different views from my existing view controller which is the root view of my app. I also have tab bar and navigation bar controllers along with it. Can I add a scroll view to this view…
raginggoat
  • 3,570
  • 10
  • 48
  • 108
4
votes
0 answers

Scroll to a position in paging library

I want to scroll to a position in recyclerview working with pagedlist adaptor but the problem is position to which I want to scroll is not loaded yet so can't scroll to that by using layoutmanager.scrollToPostion() And placeholders are disabled…
4
votes
2 answers

Swift - Paging UICollectionView by cell while keeping the cell horizontally centered

First, not sure if the title is correct or offers the best description but I'm not sure what else to use. So, i'm working on an app and I reached a section where I got stuck while implementing the UI. Basically, I have a VC (image below) that can…
4
votes
2 answers

Margin between images in UIScrollView

The effect I'm after: Having spacing between images that is only visible while scrolling (like the photos app). A lot of old obj-c answers suggest extending the scroll view's bounds offscreen to make it page farther, and making this offscreen space…
Tim
  • 583
  • 1
  • 6
  • 18
4
votes
3 answers

How to make an UICollectionView with infinite paging?

I have a UICollectionView with 6 pages, and paging enabled, and a UIPageControl. What I want is, when I came to the last page, if I drag to right, UICollectionView reloads from first page seamlessly. -…
Burak
  • 5,706
  • 20
  • 70
  • 110
3
votes
2 answers

With collectionView.isPagingEnabled = true how to know when paging is completed

I have a vertical direction cell that is the same size of the collectionView and I set collectionView.isPagingEnabled = true. There is only 1 active visible cell on screen at a time: layout.scrollDirection = .vertical collectionView.isPagingEnabled…
Lance Samaria
  • 17,576
  • 18
  • 108
  • 256
3
votes
2 answers

in EXTJS 4 , how to add extra params when NEXT PAGE clicked on pagingtoolbar

I use EXTJS 4.2.1. Here is my DATA STORE. Ext.define("user",{ extend:"Ext.data.Model", fields:[ {name:'mobile',type:'string',sortable:true}, {name:'name',type:'string',sortable:true}, {name:'month',type:'string',sortable:true}, …
Ron
  • 553
  • 2
  • 10
  • 30
3
votes
1 answer

UICollectionView with Paging

I have a collection view and it has a number of cells in it. I want the user to be able to flick the screen left or right to show a new set of cells. I am trying to get something very similar to the iPhone main screen when you can page between sets…
Recycled Steel
  • 2,272
  • 3
  • 30
  • 35
1
2 3 4 5 6 7