onItemClick method

void onItemClick(
  1. int index,
  2. ImageObj obj
)

Implementation

void onItemClick(int index, ImageObj obj) {
  togglePanel();
}