@Override
    public void onRestoreInstanceState(Parcelable state) {
        if (state == null) {
            return;
        }

        if (state instanceof SavedState) {
            pendingSavedState = (SavedState) state;
            requestLayout();
        } else {
            Log.e(TAG, "onRestoreInstanceState: invalid saved state class, expected: " + SavedState.class.getCanonicalName() + " got: " + state.getClass().getCanonicalName());
        }
    }
Assign callback object to be notified when a header view position changes between states of the HeaderPosition enum

@param headerPositionChangedCallback the callback
@see HeaderPosition
android/modules/module_common/src/main/java/github/tornaco/android/thanos/widget/section/StickyHeaderLayoutManager.java