public class MemoryMonitorActivity extends BaseActivity{
@BindView(R.id.btnMemoryThrashing)
Button btnMemoryThrashing;
@BindView(R.id.btnHanlder)
Button btnHanlder;
@Override
protected void onCreate(@Nullable Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.memory_monitor_activity);
ButterKnife.bind(this);
}
@OnClick({R.id.btnMemoryThrashing,R.id.btnHanlder})
public void onViewClicked(View view) {
switch (view.getId()){
case R.id.btnMemoryThrashing:
SingleManager.getInstance(this).get();</
采用Memory Profiler和 MAT工具检测应用的内存泄漏情况
猜你喜欢
转载自blog.csdn.net/weixin_43097956/article/details/131610824
今日推荐
周排行