public TextStyle getTextStyle(ListItemDecor.Result result, int position) { TextStyle ts = null; if (result.contains(position, ListItemDecor.Type.TextStyle)) { ts = result.getTextStyleAt(position); } return ts; }
public Drawable getDrawable(ListItemDecor.Result result, int position) { Drawable drawable = null; if (result.contains(position, ListItemDecor.Type.Icon)) { IconData icon = result.getIconAt(position); drawable = icon.drawable(); } return drawable; }