How to hide a channel from the list based on any given condition

I wanted to hide few of my channels from the listing, from CustomChannelViewHolder how to stop binding the channels

There are 2 ways

  1. Do not call super.onBindViewHolder(holder, position);
  2. Do nothing in public void bind(GroupChannel channel) method

please find the screenshot, I wanted to remove few channels based on some condition…where shall I put the conditions for that to hide… i did the way u have mentioned and done some changed but still i can see the channels in my list

You need to apply different type view holder for empty or other design view holder.
You can implement it following my answer from your another question!