Support Center

How To: Customize each row of Helpdesk Table content (in Android)

Last Updated: Mar 04, 2014 10:48PM EST

Hipmob gives you basic, lean table views in which your Helpdesk articles are displayed in rows. Sometimes you'll want to customize the table view cells in order to achieve your own design requirements. What you need is here: http://www.hipmob.com/documentation/javadocs/com/hipmob/android/HipmobHelpDeskSearchView.html

 

Subclass HipmobHelpDeskSearchView and then override getResultLayout() (http://www.hipmob.com/documentation/javadocs/com/hipmob/android/HipmobHelpDeskSearchView.html#getResultLayout()), renderResult (http://www.hipmob.com/documentation/javadocs/com/hipmob/android/HipmobHelpDeskSearchView.html#renderResult(android.view.View,%20com.hipmob.android.HipmobHelpDeskSearchView.SearchResultRow)) and willRenderResult (http://www.hipmob.com/documentation/javadocs/com/hipmob/android/HipmobHelpDeskSearchView.html#willRenderResult())

 

getResultLayout() will return the View to be used for the row, and renderResult will be passed the View and the search result.

 

We handle caching rows properly.

https://cdn.desk.com/
false
hipmob
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete