/// <summary>Give back a previously retrieved StyledAttributes, for later re-use.</summary> /// <remarks>Give back a previously retrieved StyledAttributes, for later re-use.</remarks> public virtual void recycle() { lock (mResources.mTmpValue) { android.content.res.TypedArray cached = mResources.mCachedStyledAttributes; if (cached == null || cached.mData.Length < mData.Length) { mXml = null; mResources.mCachedStyledAttributes = this; } } }