Open sajadmartiny opened 6 years ago
hi , i am using FlexibleSpaceWithImageWithViewPagerTab2 into view pager , but return the exception here:
` ScrollUtils.addOnGlobalLayoutListener(mInterceptionLayout, new Runnable() { @Override public void run() {
FrameLayout.LayoutParams lp = (FrameLayout.LayoutParams) mInterceptionLayout.getLayoutParams(); lp.height = getScreenHeight() + mFlexibleSpaceHeight; mInterceptionLayout.requestLayout(); updateFlexibleSpace(); } });`
return this : java.lang.ClassCastException: android.support.v4.view.ViewPager$LayoutParams cannot be cast to android.widget.FrameLayout$LayoutParams
hi , i am using FlexibleSpaceWithImageWithViewPagerTab2 into view pager , but return the exception here:
` ScrollUtils.addOnGlobalLayoutListener(mInterceptionLayout, new Runnable() { @Override public void run() {
return this : java.lang.ClassCastException: android.support.v4.view.ViewPager$LayoutParams cannot be cast to android.widget.FrameLayout$LayoutParams