DraweeHolder < DH > function ( @ Nullable DH arg0 , Context arg1 ) { DraweeHolder < DH > loc0 = new DraweeHolder < DH > ( arg0 ) ; loc0 . registerWithContext ( arg1 ) ; return loc0 ; }
creates a new instance of draweeholder that detaches / attaches controller whenever context notifies it about activity 's onstop and onstart callbacks . it is strongly recommended to pass a listenableactivity as context . the holder willthen also be able to respond to onstop and onstart events from that activity , making sure the image does not waste memory when the activity is stopped . concode_field_sep boolean mIsVisible concode_elem_sep DH mHierarchy concode_elem_sep DraweeController mController concode_elem_sep boolean mIsControllerAttached concode_elem_sep DraweeEventTracker mEventTracker concode_elem_sep boolean mIsHolderAttached concode_elem_sep ActivityListener mActivityListener concode_elem_sep boolean mIsActivityStarted concode_field_sep void setHierarchy concode_elem_sep void attachController concode_elem_sep void attachOrDetachController concode_elem_sep boolean onTouchEvent concode_elem_sep void setVisibilityCallback concode_elem_sep void setActivityStarted concode_elem_sep void onDetach concode_elem_sep DraweeController getController concode_elem_sep void onVisibilityChange concode_elem_sep boolean hasHierarchy concode_elem_sep Drawable getTopLevelDrawable concode_elem_sep void detachController concode_elem_sep void onAttach concode_elem_sep String toString concode_elem_sep void onDraw concode_elem_sep void registerWithContext concode_elem_sep void setController concode_elem_sep DH getHierarchy