onItemClick method
Implementation
void onItemClick(String name) {
MyToast.show(name + " clicked", context, duration: MyToast.LENGTH_SHORT);
}
void onItemClick(String name) {
MyToast.show(name + " clicked", context, duration: MyToast.LENGTH_SHORT);
}