を返すメソッドがDrawableあり、そのBitmapオブジェクトがリサイクルされるとリロードされます。
public Drawable getLogo() {
if(logo == null || Util.isRecycled(logo)) //Util.isRecycled checks - is Drawable's bitmap recycled, if it had so
logo = CacheController.getInstance().getLogo(this);
return logo;
}
しかし、呼び出し直後bitmap.recycle()のように見えますが、bitmap.isRecycled()まだ returnfalseです。そのビットマップのリサイクル プロセスは非同期に行われますか、それとも私のコードの単なるバグですか? Bitmapもしそうなら、それが現在リサイクルされていないことをどのように確認できますか?