public class

FioriMapSearchView

extends FioriSearchView
java.lang.Object
   ↳ android.view.View
     ↳ android.view.ViewGroup
       ↳ androidx.appcompat.widget.LinearLayoutCompat
         ↳ androidx.appcompat.widget.SearchView
           ↳ com.sap.cloud.mobile.fiori.search.FioriSearchView
             ↳ com.sap.cloud.mobile.fiori.maps.FioriMapSearchView

Summary

[Expand]
Inherited Constants
From class androidx.appcompat.widget.LinearLayoutCompat
From class android.view.ViewGroup
From class android.view.View
[Expand]
Inherited Fields
From class android.view.View
Public Constructors
FioriMapSearchView(Context context)
FioriMapSearchView(Context context, AttributeSet attrs)
FioriMapSearchView(Context context, AttributeSet attrs, int defStyleAttr)
Public Methods
void setAdapter(ArrayAdapter<?> adapter)
Use this method to set the adapter for the autocomplete suggestions.
void setOnItemClickListener(AdapterView.OnItemClickListener listener)
Use this method to set a listener for the autocomplete suggestion items.
void setText(String text)
Sets the text of the search view.
void setThreshold(int threshold)
Use this method to set the threshold at which suggestions are given for autocomplete.
[Expand]
Inherited Methods
From class com.sap.cloud.mobile.fiori.search.FioriSearchView
From class androidx.appcompat.widget.SearchView
From class androidx.appcompat.widget.LinearLayoutCompat
From class android.view.ViewGroup
From class android.view.View
From class java.lang.Object
From interface android.graphics.drawable.Drawable.Callback
From interface android.view.KeyEvent.Callback
From interface android.view.ViewManager
From interface android.view.ViewParent
From interface android.view.accessibility.AccessibilityEventSource
From interface androidx.appcompat.view.CollapsibleActionView

Public Constructors

public FioriMapSearchView (Context context)

public FioriMapSearchView (Context context, AttributeSet attrs)

public FioriMapSearchView (Context context, AttributeSet attrs, int defStyleAttr)

Public Methods

public void setAdapter (ArrayAdapter<?> adapter)

Use this method to set the adapter for the autocomplete suggestions.

Parameters
adapter The adapter for the autocomplete suggestions.

public void setOnItemClickListener (AdapterView.OnItemClickListener listener)

Use this method to set a listener for the autocomplete suggestion items.

Parameters
listener The listener that will be called when the user selects a suggestion.

public void setText (String text)

Sets the text of the search view. Calling this method might be useful if the user selects an autocomplete suggestion.

Parameters
text The text to set in the search view.

public void setThreshold (int threshold)

Use this method to set the threshold at which suggestions are given for autocomplete.

Parameters
threshold The threshold, in number of characters.