Simplified example of EndlessAdapter for Android.