Twit 05 implements an infinite list

Does what it says on the tin :smile: 

![roundandround](https://cloud.githubusercontent.com/assets/3380092/3951658/91bdcee2-26d9-11e4-9b7e-e08b1a8ef48b.gif)

Or coolstorybro pattern as you may be trying to emulate
On 18 Aug 2014 16:47, "Ryan Feline" <notifications@github.com> wrote:

> In
> android/src/main/java/com/github/mecharyry/tweetlist/ScrollListener.java:
>
> > +    public void onScrollStateChanged(AbsListView view, int scrollState) {
> > +
> > +    }
> > +
> > +    @Override
> > +    public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCount) {
> > +        int halfWay = totalItemCount / 2;
> > +        int distanceFromEnd = firstVisibleItem + halfWay;
> > +
> > +        boolean overHalfWay = distanceFromEnd >= totalItemCount;
> > +        boolean atEnd = totalItemCount != totalLoadedCount;
> > +
> > +        boolean loadMore = atEnd && overHalfWay;
> > +        if (loadMore) {
> > +            totalLoadedCount = totalItemCount;
> > +            if (callback != null) {
>
> Well it wouldn't unless someone passed in null, just thought better to be
> safe than sorry
>
> --
> Reply to this email directly or view it on GitHub
> <https://github.com/Mecharyry/Tweet-Manager/pull/14/files#r16361588>.
>