This package is part of the
support library which
is no longer maintained.
The support library has been superseded by AndroidX
which is part of Jetpack.
We recommend using the AndroidX libraries in all new projects. You should also consider
migrating existing projects to AndroidX.
To find the AndroidX class that maps to this deprecated class, see the AndroidX
support library class
Presenter that responsible to create a ImageView and bind to DetailsOverviewRow. The default
and binds to
Default implementation assumes no scaleType on ImageView and uses intrinsic width and height of
to initialize ImageView's layout params. To
specify a fixed size and/or specify a scapeType, subclass should change ImageView's layout params
and scaleType in
Subclass may override and has its own image view. Subclass may also download image from URL
instead of using
. It's subclass's responsibility to
turned to true so that activity
transition can be started.
isBoundToImage(ViewHolder, DetailsOverviewRow) Summary
ViewHolder for Logo view of DetailsOverviewRow.
void onBindViewHolder (
Bind logo View to drawable of DetailsOverviewRow and call notifyOnBindLogo(). The
default implementation assumes the Logo View is an ImageView and change layout size to
intrinsic size of ImageDrawable if
Presenter.ViewHolder: ViewHolder to bind.
Object: DetailsOverviewRow object to bind.
View onCreateView ( ViewGroup parent)
Create a View for the Logo, default implementation loads from
. Subclass may override this method to use
a fixed layout size and change ImageView scaleType. If the layout params is WRAP_CONTENT for
both width and size, the ViewHolder would be using intrinsic size of Drawable in
ViewGroup: Parent view.
View View created for the logo.
void onUnbindViewHolder (
from an item. Any expensive references may be
released here, and any fields that are not bound for every item should be
Content and code samples on this page are subject to the licenses described in the
Content License. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-11-09 UTC.
"label":"Missing the information I need"
"label":"Too complicated / too many steps"
"label":"Out of date"
"label":"Samples / code issue"
"label":"Easy to understand"
"label":"Solved my problem"