Skip to content

A minor Bug-fix

Compare
Choose a tag to compare
@SungjunApp SungjunApp released this 11 Jan 07:48
· 29 commits to master since this release
151eb58

we improved the performance of the infinite scroll.

  • PXLGridView.swift is improved.
  • no need for changing the app side codes
  • For you to check this change in the demo app, you can open the demo app and tab '[List type] Two-column' menu.

Before

  • the view didn't provide the infinite scroll for scrolling up. only scrolling down was available.
  • as you scrolled down, a set of photos were copied into the scroll so that you could see the infinite number of photos. but if you scrolled down faster than the speed of adding the photos into the array, no photos were added.

After

  • scrolling up is also available. the infinite scroll does not add physical data into the list anymore to repeatedly display the photos in the array. Instead, the scroll reuses the array of photos to implement the infinite scroll. Therefore, the speed of scrolling will not make any issue.

Demo