Back to project page Renderers.
The source code is released under:
Apache License
If you think the Android project Renderers listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.pedrogomez.renderers.module; //w ww . jav a 2 s . c om import android.content.Context; import android.widget.Toast; import com.pedrogomez.renderers.model.Video; import com.pedrogomez.renderers.ui.renderers.VideoRenderer; import javax.inject.Inject; /** * @author Pedro Vicente Gmez Snchez. */ public class OnVideoClickedListener implements VideoRenderer.OnVideoClicked { private Context context; @Inject public OnVideoClickedListener(Context context) { this.context = context; } @Override public void onVideoClicked(Video video) { Toast.makeText(context, "Video clicked. Title = " + video.getTitle(), Toast.LENGTH_LONG).show(); } }