修改Handler 在 ondestroy时 remove全部消息,Context获取的Manager,改为Application Context持有,游戏列表增加开服信息
This commit is contained in:
@ -1,7 +1,6 @@
|
||||
package com.gh.base;
|
||||
|
||||
import android.os.Bundle;
|
||||
import android.os.Handler;
|
||||
import android.support.annotation.Nullable;
|
||||
import android.support.v4.app.Fragment;
|
||||
import android.view.LayoutInflater;
|
||||
@ -21,8 +20,6 @@ public class BaseFragment extends Fragment implements OnCallBackListener {
|
||||
|
||||
protected View view;
|
||||
|
||||
protected Handler handler = new Handler();
|
||||
|
||||
protected boolean isEverpause;
|
||||
|
||||
protected void init(int layout) {
|
||||
|
||||
Reference in New Issue
Block a user