endian11
2020-10-26 e95d97fece2929943b7576d5cd5f55f8bff4f23a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
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 FragmentSetting3 extends SupportFragment {
    private static final String ARG_NUMBER = "arg_number";
    private static final String TAG = FragmentSetting3.class.getSimpleName();
 
 
    private int mNumber;
 
    public static FragmentSetting3 newInstance(String number) {
        FragmentSetting3 fragment = new FragmentSetting3();
        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_start, container, false);
        initView(view);
        return view;
    }
 
    private void initView(View view) {
 
 
    }
 
}