Update README.md

Adding java code for demonstrating how this custom spinner works