@OnClick(R.id.play_video_btn) public void playVideo() { if (projectDetails == null) { ViewUtils.showToast("Getting project details failed. Retrying"); postProjectDetails(); } else { VideoActivity.showActivity(this, projectDetails); } }
private void showRewardList() { if (projectDetails == null) { ViewUtils.showToast("Getting rewards failed. Retrying"); postProjectDetails(); } else { RewardsListActivity.launch(this, projectDetails, binding.playVideoBtn); // showWebView(project.getPledgeUrl()); } }