开发者

Overscroll effect in gallery class android?

How to implement overscroll effect in gallery class android?

setOverScrollMode(OVER_SCROLL_IF_CONTENT_SCROLLS);

I try to override

@Override
protected void onOverScrolled(int scrollX, int scrollY, boolean clampedX, boo开发者_JS百科lean clampedY) 
{
    System.out.printf("onOverScrolled\n");
}

but no output


System.out.printf() does nothing on Android, I believe. To output something like that, use Log.i() and look in Eclipse in the DDMS view. I personally use Log.e() because it isn't constantly being printed to like i and d, but since it's not technically an error, it's bad form.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜