-----Original Message-----
From: Kevin Sawicki <notifications@github.com>
To: github/android <android@noreply.github.com>
Sent: Fri, Apr 26, 2013 7:52 pm
Subject: Re: [android] few code cleanups (#334)


In app/src/main/java/com/github/mobile/ui/ViewPager.java:
> @@ -112,7 +112,7 @@ public void run() {
>      protected boolean canScroll(final View v, final boolean checkV,
>              final int dx, final int x, final int y) {
>          if (SDK_INT < ICE_CREAM_SANDWICH && v instanceof WebView)
> -            return ((WebView) v).canScrollHorizontally(-dx);
> +            return v.canScrollHorizontally(-dx);

canScrollHorizontally was added in API level 14 to View so this cast is still needed.
—
Reply to this email directly or view it on GitHub.