|
@@ -1,12 +1,9 @@
|
|
|
package com.itant.shibei.ui.home.tool;
|
|
package com.itant.shibei.ui.home.tool;
|
|
|
|
|
|
|
|
import android.content.Intent;
|
|
import android.content.Intent;
|
|
|
-import android.os.Bundle;
|
|
|
|
|
import android.view.View;
|
|
import android.view.View;
|
|
|
import android.widget.TextView;
|
|
import android.widget.TextView;
|
|
|
|
|
|
|
|
-import androidx.annotation.Nullable;
|
|
|
|
|
-
|
|
|
|
|
import com.itant.shibei.R;
|
|
import com.itant.shibei.R;
|
|
|
import com.itant.shibei.bean.SystemBean;
|
|
import com.itant.shibei.bean.SystemBean;
|
|
|
import com.itant.shibei.constant.ConstantUrl;
|
|
import com.itant.shibei.constant.ConstantUrl;
|
|
@@ -34,7 +31,7 @@ public class ToolFragment extends BaseMVPFragment implements View.OnClickListene
|
|
|
private TextView tv_yiji;
|
|
private TextView tv_yiji;
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|
|
|
- public void onCreateViewFinished(@Nullable Bundle savedInstanceState) {
|
|
|
|
|
|
|
+ protected void onViewInit() {
|
|
|
tv_weather = rootView.findViewById(R.id.tv_weather);
|
|
tv_weather = rootView.findViewById(R.id.tv_weather);
|
|
|
tv_yiji = rootView.findViewById(R.id.tv_yiji);
|
|
tv_yiji = rootView.findViewById(R.id.tv_yiji);
|
|
|
rootView.findViewById(R.id.fl_get_json).setOnClickListener(this);
|
|
rootView.findViewById(R.id.fl_get_json).setOnClickListener(this);
|
|
@@ -42,8 +39,6 @@ public class ToolFragment extends BaseMVPFragment implements View.OnClickListene
|
|
|
rootView.findViewById(R.id.fl_weather).setOnClickListener(this);
|
|
rootView.findViewById(R.id.fl_weather).setOnClickListener(this);
|
|
|
rootView.findViewById(R.id.fl_yiji).setOnClickListener(this);
|
|
rootView.findViewById(R.id.fl_yiji).setOnClickListener(this);
|
|
|
rootView.findViewById(R.id.fl_biao_qing).setOnClickListener(this);
|
|
rootView.findViewById(R.id.fl_biao_qing).setOnClickListener(this);
|
|
|
-
|
|
|
|
|
- super.onCreateViewFinished(savedInstanceState);
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|