CategorySelectorUI.Callback

public static abstract class CategorySelectorUI.Callback extends Object

Callback for when the user clicks on a category.

Public Constructor Summary

Public Method Summary

abstract void
onCategoryClicked(BlocklyCategory category)
Notifies the callback that the user has clicked on view representing a category.

Inherited Method Summary

Public Constructors

public CategorySelectorUI.Callback ()

Public Methods

public abstract void onCategoryClicked (BlocklyCategory category)

Notifies the callback that the user has clicked on view representing a category. Callback code is responsible for updating the toolbox BlockListUI (by default implemented in FlyoutController).

Parameters
category The clicked category.