package com.xiaojinzi.component1.view;

import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.xiaojinzi.component.Component;
import com.xiaojinzi.component.anno.FiledAutowiredAnno;

/**
 * 测试注入 Fragment 功能的
 */
public class TestInjectFragment extends Fragment {

    @FiledAutowiredAnno("name")
    String name;

    @Nullable
    @Override
    public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        Component.inject(this);
        return super.onCreateView(inflater, container, savedInstanceState);
    }

}

@@ -78,211 +78,197 @@
 oid.
-support.annotation.NonNull;%0Aimport android.support.annotation.Nullable;%0Aimport android.support.v4.app.Fragment;%0Aimport android.view.LayoutInflater;%0Aimport android.view.View;%0Aimport android.view.ViewGroup
+view.LayoutInflater;%0Aimport android.view.View;%0Aimport android.view.ViewGroup;%0A%0Aimport androidx.annotation.NonNull;%0Aimport androidx.annotation.Nullable;%0Aimport androidx.fragment.app.Fragment
 ;%0A%0Ai

解决发布 v1.7.3.1-androidx 的冲突