obtainDrawable

public abstract Drawable obtainDrawable(Context context, T data)

Gets the icon of the clicked button

Return

The Drawable of the image. If highlighting or graying is needed, return a selector type that displays the drawable in enable or disable states respectively.

Parameters

context

The context

data

The data