Package com.zendesk.sdk.support.help
Class HelpSearchFragment
- java.lang.Object
-
- Fragment
-
- com.zendesk.sdk.support.help.HelpSearchFragment
-
public class HelpSearchFragment extends Fragment
Fragment for the Help search results
-
-
Constructor Summary
Constructors Constructor and Description HelpSearchFragment()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description void
clearResults()
Clears the current resultsstatic HelpSearchFragment
newInstance(boolean addEndPadding)
void
onCreate(Bundle savedInstanceState)
View
onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
void
updateResults(java.util.List<SearchArticle> searchArticles, java.lang.String query)
Updates the search results
-
-
-
Method Detail
-
newInstance
public static HelpSearchFragment newInstance(boolean addEndPadding)
-
onCreate
public void onCreate(Bundle savedInstanceState)
-
onCreateView
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
-
updateResults
public void updateResults(java.util.List<SearchArticle> searchArticles, java.lang.String query)
Updates the search results- Parameters:
searchArticles
- The new search results to displayquery
- The query which was executed
-
clearResults
public void clearResults()
Clears the current results
-
-