Open m-akopov opened 8 years ago
Fix in method "createPins". I borrowed the code for the pinSize from the method "onSizeChanged". Only occures, if setTemporaryPins(false)
float density = getResources().getDisplayMetrics().density; float expandedPinRadius = mExpandedPinRadius / density; if (mIsRangeBar) { mLeftThumb = new PinView(ctx); mLeftThumb.init(ctx, yPos, expandedPinRadius, mPinColor, mTextColor, mCircleSize, mCircleColor, mMinPinFont, mMaxPinFont, false); } mRightThumb = new PinView(ctx); mRightThumb .init(ctx, yPos, expandedPinRadius, mPinColor, mTextColor, mCircleSize, mCircleColor, mMinPinFont, mMaxPinFont, false);
Hello, I have the same question about disappearing thumb. Please could you tell me how to fix in method "createPins" in library? Thanks a lot. ~~
When onRestoreInstanceState of the view is called, the thumbs become invisible. I think that's because createPins method is called, and it creates thumbs with 0 radius pans.
Please fix it.