Code example for AbsListView

Methods: getContext

0
                Log.d(TAG, "firstVisibleItem=" + firstVisibleItem);
                Log.d(TAG, "visibleItemCount=" + visibleItemCount);
                Log.d(TAG, "totalItemCount=" + totalItemCount);
 
                if ((totalItemCount - visibleItemCount) == firstVisibleItem) {
                    Toast.makeText(view.getContext(),
                                   "ここが最後です><", 
                                   Toast.LENGTH_LONG).show();
                } 
            } 
        }); 
    } 
}