Is there a way to dynamically show/hide the header of a ListView based on a condition at runtime.
Here is the solution: