mClassMap.put(cls, presenter);
Class<?> cls = item.getClass(); Presenter presenter = null; do { presenter = mClassMap.get(cls); cls = cls.getSuperclass(); } while (presenter == null && cls != null); return presenter;