public interface

SupportsHierarchyAccessory

com.sap.cloud.mobile.fiori.hierarchy.SupportsHierarchyAccessory
Known Indirect Subclasses

Class Overview

An interface for providing accessory part of HierarchyViewCell

Summary

Public Methods
abstract View getAccessoryView()
Get the accessory part of the view.
abstract boolean isAccessoryClicked(MotionEvent motionEvent, View view)
Hierarchy Cells have an accessory part in their structure.

Public Methods

public abstract View getAccessoryView ()

Get the accessory part of the view.

public abstract boolean isAccessoryClicked (MotionEvent motionEvent, View view)

Hierarchy Cells have an accessory part in their structure. In order to delve deeper in the hierarchy it is important for the HierarchyView to understand when the click events occur over accessory part of the view. This API allows HierarchyView to decide the next course of action.

Parameters
motionEvent Motion event received in response to user's interaction with HierarchyView
view Hierarchy Cell View, with which user interacted.
Returns
  • boolean is the click event was on accessory part of the View.