message: Updated coordinator when collapsing content changes
diff: @@ -2,6 +2,7 @@ package com.navigation.reactnative;
  import android.content.Context;
  import android.graphics.drawable.Drawable;
  +import android.view.View;
  import com.google.android.material.appbar.AppBarLayout;
  import com.google.android.material.appbar.CollapsingToolbarLayout;
  @@ -17,6 +18,16 @@ public class CollapsingBarView extends CollapsingToolbarLayout {
  setLayoutParams(params);
  defaultContentScrim = getContentScrim();
  defaultTitleTextColor = new ToolbarView(context).defaultTitleTextColor;
  + addOnLayoutChangeListener(new OnLayoutChangeListener() {
  + @Override
  + public void onLayoutChange(View v, int left, int top, int right, int bottom, int oldLeft, int oldTop, int oldRight, int oldBottom) {
  + if (getParent() != null && getParent().getParent() instanceof CoordinatorLayoutView) {
  + CoordinatorLayoutView coordinatorLayoutView = (CoordinatorLayoutView) getParent().getParent();
  + coordinatorLayoutView.post(coordinatorLayoutView.measureAndLayout);
  + }
  +
  + }
  + });
  }
  @Override
  