@Override public void init() { super.init(); Typeface mTypeface = Typeface.createFromAsset(mContext.getAssets(), "fonts/Roboto-Thin.ttf"); tv_title.setTypeface(mTypeface); Object mObject = mView.getTag(R.id.tag_first); if (mObject != null && mObject instanceof ParallaxViewController) { ((ParallaxViewController) mObject).imageParallax(image); } mView.setOnClickListener( new View.OnClickListener() { @Override public void onClick(View view) { Intent intent = new Intent(mContext, PlayActivity.class); intent.putExtra("video", mData); mContext.startActivity(intent); } }); }