Unbind viewholder if driver gets rebound.

PiperOrigin-RevId: 266360585
Change-Id: I4ee5ae8531dc92dc3111ca70f61c0aea4d85a2aa
diff --git a/src/main/java/com/google/android/libraries/feed/basicstream/internal/drivers/ZeroStateDriver.java b/src/main/java/com/google/android/libraries/feed/basicstream/internal/drivers/ZeroStateDriver.java
index 7774060..a458bbe 100644
--- a/src/main/java/com/google/android/libraries/feed/basicstream/internal/drivers/ZeroStateDriver.java
+++ b/src/main/java/com/google/android/libraries/feed/basicstream/internal/drivers/ZeroStateDriver.java
@@ -60,7 +60,12 @@
   @Override
   public void bind(FeedViewHolder viewHolder) {
     if (isBound()) {
-      Logger.wtf(TAG, "Rebinding.");
+      Logger.w(TAG, "Rebinding.");
+      if (viewHolder == zeroStateViewHolder) {
+        Logger.e(TAG, "Being rebound to the previously bound viewholder");
+        return;
+      }
+      unbind();
     }
     checkState(viewHolder instanceof ZeroStateViewHolder);