public class

MapListPanel

extends LinearLayout
java.lang.Object
   ↳ android.view.View
     ↳ android.view.ViewGroup
       ↳ android.widget.LinearLayout
         ↳ com.sap.cloud.mobile.fiori.maps.MapListPanel<T extends androidx.recyclerview.widget.RecyclerView.Adapter & com.sap.cloud.mobile.fiori.maps.MapListPanel.MapListAdapter>

Class Overview

A panel within map bottom sheet or side sheet to show list of map objects.

Summary

Nested Classes
interface MapListPanel.MapListAdapter Additional interface that must be implemented by client of MapListPanel  
[Expand]
Inherited Constants
From class android.widget.LinearLayout
From class android.view.ViewGroup
From class android.view.View
[Expand]
Inherited Fields
From class android.view.View
Public Constructors
MapListPanel(Context context)
MapListPanel(Context context, AttributeSet attrs)
MapListPanel(Context context, AttributeSet attrs, int defStyleAttr)
MapListPanel(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes)
Public Methods
T getAdapter()
Returns the adapter for the recycler view
FilterFormCell getFilterFormCell()
Returns the filter form cell that can be used to add filter chips.
boolean isFilterable()
Returns whether the list supports filter
void setAdapter(T adapter)
Sets the adapter to be used with the recycler view.
void setFilterable(boolean filterable)
Toggles between filterable ( with filter chips ) and a plain title bar
void setNavigationOnClickListener(View.OnClickListener listener)
Sets an View.OnClickListener to the dismiss button in title bar.
[Expand]
Inherited Methods
From class android.widget.LinearLayout
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

Public Constructors

public MapListPanel (Context context)

public MapListPanel (Context context, AttributeSet attrs)

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

public MapListPanel (Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes)

Public Methods

public T getAdapter ()

Returns the adapter for the recycler view

public FilterFormCell getFilterFormCell ()

Returns the filter form cell that can be used to add filter chips.

public boolean isFilterable ()

Returns whether the list supports filter

public void setAdapter (T adapter)

Sets the adapter to be used with the recycler view.

public void setFilterable (boolean filterable)

Toggles between filterable ( with filter chips ) and a plain title bar

public void setNavigationOnClickListener (View.OnClickListener listener)

Sets an View.OnClickListener to the dismiss button in title bar.