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

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!