sagus_helgy
sagus_helgy

Reputation: 1437

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, boolean clampedY) 
{
    System.out.printf("onOverScrolled\n");
}

but no output

Upvotes: 2

Views: 1223

Answers (1)

Shawn Walton
Shawn Walton

Reputation: 1754

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.

Upvotes: 1

Related Questions