public void setOnBindSuggestionCallback ( SearchSuggestionsAdapter . OnBindSuggestionCallback callback ) { this . mOnBindSuggestionCallback = callback ; if ( mSuggestionsAdapter != null ) { mSuggestionsAdapter . setOnBindSuggestionCallback ( mOnBindSuggestionCallback ) ; } }
Set a callback that will be called after each suggestion view in the suggestions recycler list is bound . This allows for customized binding for specific items in the list .