Source:
public void handleResult(@NonNull final ChannelInfo result) { super.handleResult(result); headerRootLayout.setVisibility(View.VISIBLE); IMAGE_LOADER.displayImage(result.getBannerUrl(), headerChannelBanner, ImageDisplayConstants.DISPLAY_BANNER_OPTIONS); IMAGE_LOADER.displayImage(result.getAvatarUrl(), headerAvatarView, ImageDisplayConstants.DISPLAY_AVATAR_OPTIONS); headerSubscribersTextView.setVisibility(View.VISIBLE); if (result.getSubscriberCount() >= 0) { headerSubscribersTextView.setText(Localization .shortSubscriberCount(activity, result.getSubscriberCount())); } else { headerSubscribersTextView.setText(R.string.subscribers_count_not_available); } if (menuRssButton != null) { menuRssButton.setVisible(!TextUtils.isEmpty(result.getFeedUrl())); } playlistCtrl.setVisibility(View.VISIBLE); List<Throwable> errors = result.getErrors(); if (!errors.isEmpty()) { Iterator<Throwable> it = errors.iterator(); while (it.hasNext()) { Throwable throwable = it.next(); if (throwable instanceof ContentNotSupportedException) { updateNoVideoDisplay(); it.remove(); } } if (!errors.isEmpty()) { showSnackBarError(result.getErrors(), UserAction.REQUESTED_CHANNEL, NewPipe.getNameOfService(result.getServiceId()), result.getUrl(), 0); } } if (disposables != null) { disposables.clear(); } if (subscribeButtonMonitor != null) { subscribeButtonMonitor.dispose(); } updateSubscription(result); monitorSubscription(result); headerPlayAllButton.setOnClickListener(view -> NavigationHelper .playOnMainPlayer(activity, getPlayQueue(), false)); headerPopupButton.setOnClickListener(view -> NavigationHelper .playOnPopupPlayer(activity, getPlayQueue(), false)); headerBackgroundButton.setOnClickListener(view -> NavigationHelper .playOnBackgroundPlayer(activity, getPlayQueue(), false)); }

Target:
public void handleResult(@NonNull final ChannelInfo result) { super.handleResult(result); headerRootLayout.setVisibility(View.VISIBLE); IMAGE_LOADER.displayImage(result.getBannerUrl(), headerChannelBanner, ImageDisplayConstants.DISPLAY_BANNER_OPTIONS); IMAGE_LOADER.displayImage(result.getAvatarUrl(), headerAvatarView, ImageDisplayConstants.DISPLAY_AVATAR_OPTIONS); headerSubscribersTextView.setVisibility(View.VISIBLE); if (result.getSubscriberCount() >= 0) { headerSubscribersTextView.setText(Localization .shortSubscriberCount(activity, result.getSubscriberCount())); } else { headerSubscribersTextView.setText(R.string.subscribers_count_not_available); } if (menuRssButton != null) { menuRssButton.setVisible(!TextUtils.isEmpty(result.getFeedUrl())); } playlistCtrl.setVisibility(View.VISIBLE); List<Throwable> errors = new ArrayList<>(result.getErrors()); if (!errors.isEmpty()) { for (Iterator<Throwable> it = errors.iterator(); it.hasNext();) { Throwable throwable = it.next(); if (throwable instanceof ContentNotSupportedException) { showContentNotSupported(); it.remove(); } } if (!errors.isEmpty()) { showSnackBarError(errors, UserAction.REQUESTED_CHANNEL, NewPipe.getNameOfService(result.getServiceId()), result.getUrl(), 0); } } if (disposables != null) { disposables.clear(); } if (subscribeButtonMonitor != null) { subscribeButtonMonitor.dispose(); } updateSubscription(result); monitorSubscription(result); headerPlayAllButton.setOnClickListener(view -> NavigationHelper .playOnMainPlayer(activity, getPlayQueue(), false)); headerPopupButton.setOnClickListener(view -> NavigationHelper .playOnPopupPlayer(activity, getPlayQueue(), false)); headerBackgroundButton.setOnClickListener(view -> NavigationHelper .playOnBackgroundPlayer(activity, getPlayQueue(), false)); }