@OnEvent(ClickEvent.class) static void onClick( ComponentContext c, @FromEvent View view, @Prop final Product product) { }
@OnEvent(ClickEvent.class) static void onClick( ComponentContext c, @FromEvent View view, @Prop final SingleBannerSection payload) { }
@OnEvent(ClickEvent.class) static void onClickFirstBanner( ComponentContext c, @FromEvent View view, @Prop final TripleBannerSection payload) { }
@OnEvent(ClickEvent.class) static void onClickSecondBanner( ComponentContext c, @FromEvent View view, @Prop final TripleBannerSection payload) { }
@OnEvent(ClickEvent.class) static void onClickThirdBanner( ComponentContext c, @FromEvent View view, @Prop final TripleBannerSection payload) { }
@OnEvent(ClickEvent.class) static void onClick( ComponentContext c, @FromEvent View view, @Prop final String name) { final Intent intent = new Intent(c, DemoActivity.class); intent.putExtra("demoName", name); c.startActivity(intent); }
@OnEvent(ClickEvent.class) static void onClick( ComponentContext c, @FromEvent View view) { FavouriteButton.toggleFavourited(c); }