Incarnatara Yoon
Sep 5, 2018 · 1 min read

안녕하세요 예제 참고 하였습니다. 대단히 감사합니다.

예제가 아주 약간 잘못돼 글 남깁니다.

위쪽 조건이 1에서 -1로 돼야합니다!!

if (!myList.canScrollVertically(1)) {
Log.i(TAG, "Top of list");
} else if (!myList.canScrollVertically(1)) {
Log.i(TAG, "End of list");
} else {
Log.i(TAG, "idle");
}
에서 if (!myList.canScrollVertically(-1)) {
Log.i(TAG, "Top of list");
} else if (!myList.canScrollVertically(1)) {
Log.i(TAG, "End of list");
} else {
Log.i(TAG, "idle");
}

    Incarnatara Yoon

    Written by

    Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
    Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
    Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade