Bug 524 - ScrollView.FullScroll(int) should take an enum
Summary: ScrollView.FullScroll(int) should take an enum
Status: VERIFIED FIXED
Alias: None
Product: Android
Classification: Xamarin
Component: BCL Class Libraries ()
Version: 1.0
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Jonathan Pobst
URL:
Depends on:
Blocks:
 
Reported: 2011-08-29 11:49 UTC by Paolo Molaro
Modified: 2014-04-04 09:05 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
VERIFIED FIXED

Description Paolo Molaro 2011-08-29 11:49:17 UTC
According to http://developer.android.com/reference/android/widget/ScrollView.html#fullScroll(int)
FullScroll() can take the FOCUS_DOWN or FOCUS_UP values, which could be nicely represented by an enum. Instead, users of the API will need to lookup the raw value somewhere (130 for DOWN, 33 for UP).
Comment 1 Jonathan Pobst 2011-08-29 11:57:02 UTC
Fixed in 93d8cb5350a433f68bf8f90d23e1665a58f96416.
Comment 2 Ram Chandra 2014-04-04 09:05:41 UTC
I have checked this with following builds:

Windows 7
Xamarin Studio: 4.2.3 (build 60)
Xamarin.Android: 4.12.2 (Enterprise Edition)

Build Information
Release ID: 402030060
30c4afc300c2a39ec5300851357ce02e49dd217e
Build date: 2014-03-05 16:53:54Z
Xamarin addins: f8a9589b57c2bfab2ccd73c880e7ad81e3ecf044

When I checked the definition of "ScrollViewFullScroll()"method in "assembly browser", I observed that, now the "FullScroll()"method takes the enum type parameter. It takes "FocusSearchDirection" which is define as a enum.

Screencast: http://www.screencast.com/t/WO0bhoZq

This issue is working fine. Hence I am closing this issue.