Interface OnComponentSelected

    • Method Detail

      • onSingleComponentSelected

        void onSingleComponentSelected​(Component component,
                                       boolean isSelected,
                                       int tabPosition)
        Callback when selecting a Component and the max selection is one
        Parameters:
        component - instance of Component that is selected
        isSelected - determines if current Component is selected
        tabPosition - position of the tab that the adapter is attached
      • onMultipleComponentSelected

        void onMultipleComponentSelected​(Component component,
                                         boolean isSelected,
                                         int tabPosition)
        Callback when selecting a Component and the max selection is greater than one
        Parameters:
        component - instance of Component that is selected
        isSelected - determines if current Component is selected
        tabPosition - position of the tab that the adapter is attached
      • onComponentSpinnerSelected

        void onComponentSpinnerSelected​(Component component,
                                        AttributeOption attributes,
                                        int tabPosition)
        Callback when selecting an item in the spinner
        Parameters:
        component - instance of Component that is selected
        attributes - determines if current Component is selected
        tabPosition - position of the tab that the adapter is attached