Add list-select as an inline result
Move the majority of the Setting set & get logic into InlinePayload, but add formatting of input to each concrete payload class. Bug: 62022517 Test: make RunSettingsRoboTests Change-Id: I08932871554beb4a04625f05f8555a5b3a887fe2
This commit is contained in:
@@ -110,6 +110,10 @@ public class SearchResultsAdapter extends RecyclerView.Adapter<SearchViewHolder>
|
||||
// InlineSwitchViewHolder.
|
||||
view = inflater.inflate(R.layout.search_intent_item, parent, false);
|
||||
return new IntentSearchViewHolder(view);
|
||||
case ResultPayload.PayloadType.INLINE_LIST:
|
||||
// TODO (b/62807132) build a inline-list view holder & layout.
|
||||
view = inflater.inflate(R.layout.search_intent_item, parent, false);
|
||||
return new IntentSearchViewHolder(view);
|
||||
case ResultPayload.PayloadType.SAVED_QUERY:
|
||||
view = inflater.inflate(R.layout.search_saved_query_item, parent, false);
|
||||
return new SavedQueryViewHolder(view);
|
||||
|
||||
Reference in New Issue
Block a user