@Deprecated public class GlifPreferenceDelegate extends Object
PreferenceFragment#onCreateRecyclerView
to it. Then call
PreferenceFragment#setDivider
to getDividerDrawable(android.content.Context)
in
order to make sure the correct inset is applied to the dividers.Modifier and Type | Field and Description |
---|---|
static int[] |
ATTRS_LIST_DIVIDER
Deprecated.
|
Constructor and Description |
---|
GlifPreferenceDelegate(boolean hasIcons)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Drawable |
getDividerDrawable(Context context)
Deprecated.
|
RecyclerView |
onCreateRecyclerView(LayoutInflater inflater,
ViewGroup parent,
Bundle savedInstanceState)
Deprecated.
|
void |
setHeaderText(CharSequence text)
Deprecated.
|
void |
setIcon(Drawable icon)
Deprecated.
|
public GlifPreferenceDelegate(boolean hasIcons)
public RecyclerView onCreateRecyclerView(LayoutInflater inflater, ViewGroup parent, Bundle savedInstanceState)
public void setHeaderText(CharSequence text)
public void setIcon(Drawable icon)