We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c102bd9 + 0097146 commit 6ceb222Copy full SHA for 6ceb222
1 file changed
library/src/main/java/me/itangqi/waveloadingview/WaveLoadingView.java
@@ -161,6 +161,7 @@ private void init(Context context, AttributeSet attrs, int defStyleAttr) {
161
mBottomTitlePaint.setAntiAlias(true);
162
mBottomTitlePaint.setTextSize(attributes.getDimension(R.styleable.WaveLoadingView_wlv_titleBottomSize, sp2px(DEFAULT_TITLE_BOTTOM_SIZE)));
163
mBottomTitle = attributes.getString(R.styleable.WaveLoadingView_wlv_titleBottom);
164
+ attributes.recycle();
165
}
166
167
@Override
@@ -587,4 +588,4 @@ protected int dp2px(float dp) {
587
588
return (int) (dp * scale + 0.5f);
589
590
-}
591
+}
0 commit comments