I'm coding a library that simplifies the use of Http request in Android and I've coded two different implementations (one using Apache libs, the other one using HttpUrlConnection) with a common interface.
I could leave it that way but I'm looking for a pattern that could represent better the following behaviour/limitations:
1. Implementation classes are singleton.
2. The library should be intended for making use of only one implementation in each program.
3. It must be easy to change between implementations.
I've already figured out how to do it without a design pattern, but I prefer to make the library the most "standard" it can be.