Closed nkeskinov closed 10 years ago
Created issue #341 for the PR.
Has this been merged ? Can it be closed ? If you need a review, please squash a ping me / team.
Thx !
@stephanenicolas The last commits you can see are the nearest to squashing I could get. The merge commit 94dbd66 has no changes, but it had to be here because the previous commits were reverted.
About the functionality, it lacks tests, as discussed by email. However, I can see no simple way of mocking a ListView that would force scroll behavior in order to check if the wrapped OnScrollListener methods were called. The reason for this is that all ListView's methods are private and many things are checked (due to optimization) before the OnScrollListener's methods are called. Ideas are welcome.
Hi @nikola,
I Will have a look at it next week.
Stéphane Le 2014-07-18 15:08, "Nikola Keskinov" notifications@github.com a écrit :
@stephanenicolas https://github.com/stephanenicolas The last commits you can see are the nearest to squashing I could get. The merge commit 94dbd66 https://github.com/stephanenicolas/robospice/commit/94dbd66 has no changes, but it had to be here because the previous comments were reverted.
About the functionality, it lacks tests, as discussed by email. However, I can see no simple way of mocking a ListView that would force scroll behavior in order to check if the wrapped OnScrollListener methods were called. Ideas are welcome. The reason for this is that all ListView's methods are private and many things are checked (due to optimization) before the OnScrollListener's methods are called.
— Reply to this email directly or view it on GitHub https://github.com/stephanenicolas/robospice/pull/340#issuecomment-49468345 .
Hi @nkeskinov , sorry for the delay, it took me a while to have an eye on this PR.
I did, and added tests. As soon as the build passes, I will merge it. I hope to release asap.
Would this be a more proper way?