Suppose I developed an android library XYZ which has methods
animateWithTransition() which has code related with Transition api(i.e. minsdk=21)
animateSimply() which has simple animation.
When Client uses XYZ library, he should be able to see animateWithTransition() as a suggestion(ctrl+space) if his minsdk < 21. and should be able to see only animateSimply() : |
How to go about this?