package safeluck.drive.evaluation.fragment.rulefragments;
|
|
import android.os.Bundle;
|
import android.util.Log;
|
import android.view.LayoutInflater;
|
import android.view.View;
|
import android.view.ViewGroup;
|
|
import androidx.annotation.Nullable;
|
|
import me.yokeyword.fragmentation.SupportFragment;
|
import safeluck.drive.evaluation.R;
|
|
/**
|
* DriveJudge
|
* Created by lzw on 2020/9/14. 10:16:39
|
* 邮箱:632393724@qq.com
|
* All Rights Saved! Chongqing AnYun Tech co. LTD
|
*/
|
public class FragmentSetting2 extends SupportFragment {
|
private static final String ARG_NUMBER = "arg_number";
|
private static final String TAG = FragmentSetting2.class.getSimpleName();
|
|
|
private int mNumber;
|
|
public static FragmentSetting2 newInstance(String number) {
|
FragmentSetting2 fragment = new FragmentSetting2();
|
Bundle args = new Bundle();
|
args.putInt(ARG_NUMBER, Integer.parseInt(number));
|
fragment.setArguments(args);
|
return fragment;
|
}
|
|
@Override
|
public void onCreate(@Nullable Bundle savedInstanceState) {
|
super.onCreate(savedInstanceState);
|
Bundle args = getArguments();
|
if (args != null) {
|
mNumber =args.getInt(ARG_NUMBER) ;
|
Log.i(TAG,"mNumber="+mNumber);
|
}
|
}
|
|
@Nullable
|
@Override
|
public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
|
View view = inflater.inflate(R.layout.layout_fragment_parkover, container, false);
|
initView(view);
|
return view;
|
}
|
|
private void initView(View view) {
|
|
|
}
|
|
}
|