Release Memory of Particular Activity when it is Destroyed

前端 未结 7 1576
说谎
说谎 2020-12-15 05:38

I have a launcher Activity that load and resize big bitmap as it\'s background when it opens.

Whenever hit the back button, the Activity is

7条回答
  •  误落风尘
    2020-12-15 06:16

    Try to set the bitmap to null while activity is destroyed and if desire run the garbage collector.

提交回复
热议问题