public class

SearchDialogFragment

extends DialogFragment
implements SearchAgent.OnGetAddressListener SearchAgent.OnGetLocationListener SearchAgent.OnSearchErrorListener
java.lang.Object
   ↳ androidx.fragment.app.Fragment
     ↳ androidx.fragment.app.DialogFragment
       ↳ com.sap.cloud.mobile.fiori.maps.search.SearchDialogFragment

Summary

Nested Classes
interface SearchDialogFragment.OnLocationSelectedListener Listener for notification when a location is selected from location search. 
[Expand]
Inherited Constants
From class androidx.fragment.app.DialogFragment
Public Constructors
SearchDialogFragment()
Public Methods
void dismiss()
void onAddressSearchError()
void onAddressesFound(List<FioriAddress> addresses)
void onCancel(DialogInterface dialog)
void onCreate(Bundle savedInstanceState)
Dialog onCreateDialog(Bundle savedInstanceState)
View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
void onDestroyView()
void onDetach()
void onLocationFound(List<FioriAddress> locations)
void onResume()
void setLocationSelectedListener(SearchDialogFragment.OnLocationSelectedListener listener)
Set a listener to be notified when a location is selected.
void setSearchAgent(SearchAgent searchAgent)
Protected Methods
void notifySelectListener(FioriAddress fioriAddress)
[Expand]
Inherited Methods
From class androidx.fragment.app.DialogFragment
From class androidx.fragment.app.Fragment
From class java.lang.Object
From interface android.content.ComponentCallbacks
From interface android.content.DialogInterface.OnCancelListener
From interface android.content.DialogInterface.OnDismissListener
From interface android.view.View.OnCreateContextMenuListener
From interface androidx.lifecycle.LifecycleOwner
From interface androidx.lifecycle.ViewModelStoreOwner
From interface androidx.savedstate.SavedStateRegistryOwner
From interface com.sap.cloud.mobile.fiori.maps.search.SearchAgent.OnGetAddressListener
From interface com.sap.cloud.mobile.fiori.maps.search.SearchAgent.OnGetLocationListener
From interface com.sap.cloud.mobile.fiori.maps.search.SearchAgent.OnSearchErrorListener

Public Constructors

public SearchDialogFragment ()

Public Methods

public void dismiss ()

public void onAddressSearchError ()

public void onAddressesFound (List<FioriAddress> addresses)

public void onCancel (DialogInterface dialog)

public void onCreate (Bundle savedInstanceState)

public Dialog onCreateDialog (Bundle savedInstanceState)

public View onCreateView (LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)

public void onDestroyView ()

public void onDetach ()

public void onLocationFound (List<FioriAddress> locations)

public void onResume ()

public void setLocationSelectedListener (SearchDialogFragment.OnLocationSelectedListener listener)

Set a listener to be notified when a location is selected.

Parameters
listener a listener to be notified when a location is selected

public void setSearchAgent (SearchAgent searchAgent)

Protected Methods

protected void notifySelectListener (FioriAddress fioriAddress)