Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
アクティビティのときにビットマップは自動的にリサイクルされfinish()ますか?
finish()
recycle()それともでビットマップを呼び出す必要がありonDestroy()ますか?
recycle()
onDestroy()
Pre Android 3.0 ではrecycle、ビットマップがnative heap.
recycle
native heap
まだ生きているオブジェクトによってそれらを参照していない限り、それ以上の操作を必要とせずに、GC によってガベージ コレクションが行われます。