I have worked a lot with the Android Compatibility library and have always used the class in the library over the class in the Android jar to ensure backwards compatibility.
Is this the correct way to use it?
I had an idea to have an interface for the classes that use the library. This way I can build 2 classes from that type. 1 that uses the ACL and the other uses the Android jar. Using roboguice I can automatically use the correct type.
Would there be any advantage or disadvantages of doing it this way?