NavigationTitle空处理 MessageDetailActivity继承NormalActivity
This commit is contained in:
@ -14,7 +14,6 @@ import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
|
||||
import com.gh.base.BaseToolBarActivity;
|
||||
import com.gh.base.OnListClickListener;
|
||||
import com.gh.base.OnRequestCallBackListener;
|
||||
import com.gh.gamecenter.eventbus.EBMiPush;
|
||||
@ -86,15 +85,6 @@ public abstract class BaseFragment<T> extends Fragment implements OnRequestCallB
|
||||
handleOnClick(v);
|
||||
}
|
||||
|
||||
protected void setNavigationTitle(@StringRes int res) {
|
||||
setNavigationTitle(getString(res));
|
||||
}
|
||||
|
||||
protected void setNavigationTitle(String title) {
|
||||
if (getActivity() instanceof BaseToolBarActivity) {
|
||||
((BaseToolBarActivity) getActivity()).setNavigationTitle(title);
|
||||
}
|
||||
}
|
||||
|
||||
protected void initView(View view) {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user