see http://stackoverflow.com/a/18506329/1819402  Android Studio - Ambiguous method call getClass()