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

add the possibility to reinitialize the position #30

Merged
merged 1 commit into from
Oct 14, 2014

Conversation

clairecoloma
Copy link
Contributor

Hi,
First of all thx for this great widget!
In some cases, an external action may change the content of the ListView or TableView, thus changing its contentHeight. In such a case, the infinite scroll won't work anymore, as it won't detect that the content has become smaller.

This PR adds the possibility to reinitialize the position and marker. This proves to be particularly useful when integrating with other widgets, like for instance a PullToRefresh :-)

FokkeZB added a commit that referenced this pull request Oct 14, 2014
add the possibility to reinitialize the position
@FokkeZB FokkeZB merged commit 351e17c into Topener:master Oct 14, 2014
FokkeZB added a commit that referenced this pull request Oct 14, 2014
@FokkeZB
Copy link
Collaborator

FokkeZB commented Oct 14, 2014

I merged but then changed the implementation. Now simply call .mark() and for tables it will null the position.

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.

None yet

2 participants