Beispiel #1
0
        void Dispose(bool disposing)
        {
            if (!_disposed)
            {
                if (disposing)
                {
                    _stylesheet = null;
                }

                foreach (BitmapDrawable img in _imagesCache.Values)
                {
                    img.Dispose();
                }
                _imagesCache.Clear();
                _imagesCache = null;

                _disposed = true;
            }
        }
Beispiel #2
0
 public StyleHelper(AndroidStyleSheet stylesheet)
 {
     _stylesheet = stylesheet;
 }