Closed charleshan closed 4 years ago
I don't think this is necessary. Your IDE schould figure out which import you need and import it for you but I will merge it so when somebody don't know wich import he schould use, he can find it in the documentation.
I understand. I had a few times when Android Studio failed to detect packages so this is one of those things that bugs me.
Regardless, a library shouldn't make assumptions about people's dev environments.
Currently, we have to look dig through the repo to figure out which file we need to import. Adding an import statement in the example solves this problem.