use of com.kickstarter.libs.BaseActivity in project android-oss by kickstarter.
the class ProjectViewHolder method setProjectSocialClick.
public void setProjectSocialClick() {
if (project.isFriendBacking()) {
if (project.friends().size() > 2) {
projectSocialViewGroup.setBackground(clickIndicatorLightMaskedDrawable);
projectSocialViewGroup.setOnClickListener(view -> {
final BaseActivity activity = (BaseActivity) context;
final Intent intent = new Intent(activity, ProjectSocialActivity.class).putExtra(IntentKey.PROJECT, project);
activity.startActivity(intent);
activity.overridePendingTransition(R.anim.slide_in_right, R.anim.fade_out_slide_out_left);
});
}
}
}
Aggregations