RoboGuice classes extending ActionBarSherlock classes
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
src Bring RoboSherlockPreferenceActivity in line with RG 2.0 to fix #12 Oct 25, 2012
AndroidManifest.xml Raise API Level for tests to 7 Apr 26, 2012


roboguice-sherlock Build Status

RoboGuice classes for use with ActionBarSherlock

Both RoboGuice and ActionBarSherlock require custom base classes for Activities and Fragments, and as Java doesn't permit diamond-inheritance, or the traits of Scala, this project provides custom RoboGuice classes that extend the corresponding ones from ActionBarSherlock.

JakeWharton provided the first example of how to do this with a RoboSherlockActivity: it's a simple drudge process of taking the source for the RoboGuice class and changing the activity/fragment named in the extends declaration to the corresponding ActionBarSherlock class - there are no further complications I've encountered so far.

All classes in this project have the same name as the RoboGuice ones, with 'Sherlock' inserted after the 'Robo', ie Robo**Sherlock**ListFragment. The package is also changed to**.

Download releases from Maven:

Used in...

The open-source web analytics app by GitHub.