Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sticky #261

Merged
merged 118 commits into from
Feb 11, 2019
Merged

Sticky #261

merged 118 commits into from
Feb 11, 2019

Conversation

ananyachandra14
Copy link
Collaborator

  • Sticky Headers and Footers
  • Cascading sticky objects
  • onVisibleIndexesChanged deprecated, onVisibleIndicesChanged to be used

@gut4
Copy link

gut4 commented Jan 29, 2019

Is this PR ready to merge?

@ananyachandra14
Copy link
Collaborator Author

@gut4 Yea it's ready. We'll be merging it soon enough.

Ananya Chandra and others added 7 commits January 30, 2019 18:05
* Flooring windowBound - offset.

* Header boundary solved using scroll offset.

* Footer solved.

* Bug fix and doc updated.

* Version bump.

* Bounce scrolling recalculated on visible indices changed.

* Boundary reached method moved to object.

* Distance from window taken into consideration.

* Adding distance from window to window bound.

* Fix.
package.json Outdated
@@ -1,6 +1,6 @@
{
"name": "recyclerlistview",
"version": "1.4.0-beta.15",
"version": "1.4.0-beta.16",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change to 2.0.0 and some available beta

@@ -2,6 +2,8 @@
set -e

TARGET=$"/Users/talha.naqvi/Documents/Work/RLV-Demo/node_modules/recyclerlistview/dist" #target-path
#TARGET=$"/Users/ananya.chandra/Documents/ReactNativeRepos/ts-rex/node_modules/recyclerlistview/dist" #target-path
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove these

this._virtualRenderer.attachVisibleItemsListener(this.props.onVisibleIndexesChanged!);
}
if (this.props.onVisibleIndexesChanged) {
console.warn(Messages.VISIBLE_INDEXES_CHANGED_DEPRECATED); //tslint:disable-line
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

throw exception instead

import CustomError from "./exceptions/CustomError";
import RecyclerListViewExceptions from "./exceptions/RecyclerListViewExceptions";

export interface StickyContainerProps {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not addressed

ananyachandra14 and others added 2 commits February 11, 2019 13:38
* import was not from web (#299)

* CR changes.

* Throwing exceptions for visibleIndexes and array sort.

* Handling index 0 cases.

* Updated doc with errors.
@naqvitalha naqvitalha merged commit 2965168 into master Feb 11, 2019
@naqvitalha naqvitalha deleted the stickyView branch February 11, 2019 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants