Open rajeesht opened 8 years ago
@rajeesht did you see Tip # 5 http://courses.codepath.com/courses/intro_to_android/unit/2#!hints? What in particular did you have issues with?
I am having trouble on how to relate the parameters for EndlessScrollListener::onLoadMore with tweets in current view. As I understand app need to determine the tweet id for tweet that is on the visibleThreshold and fetch tweets that are older than that id.
You just need to determine the offset once you reach the bottom of your feed and call the home timeline endpoint by passing in this id as the value for PARAM_MAX_ID. Let me know if you have any more questions.
Do you have a working example that you can share?
/cc @codepathreview @codepath I have not been able to figure out how endless scrolling works. A video with example will help.