On Fri, Oct 2, 2009 at 12:54 AM, Gavin Bong <gavin.emp...@gmail.com> wrote: > > In the android Launcher app, Workspace.java accesses the mScrollX > member variable. > > http://www.google.com/codesearch/p?hl=fr&sa=N&cd=2&ct=rc#4r7JaNM0EqE/src/com/android/launcher/Workspace.java&q=computeScroll > > However it looks like mScrollX is not accessible to my ViewGroup > subclass. > > Eclipse is marking it as unresolved().
Does it actually fail to build, or are you just talking about the syntax highlighting? mScrollX is a protected member of View, so should be accessible to any subclass. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---