Android Open Source - WifiProxySetting Demo Fragment






From Project

Back to project page WifiProxySetting.

License

The source code is released under:

MIT License

If you think the Android project WifiProxySetting listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.kyokomi.wifiproxysetting.ui.fragment;
//from   ww  w  . j av a2  s .  c o  m

import android.os.Bundle;
import android.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.kyokomi.wifiproxysetting.DemoApplication;


/**
 * A simple {@link Fragment} subclass.
 */
public abstract class DemoFragment extends Fragment {

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {
        View rootView = super.onCreateView(inflater, container, savedInstanceState);

        ((DemoApplication) getActivity().getApplication()).component().inject(this);

        return rootView;
    }

}




Java Source Code List

com.kyokomi.wifiproxysetting.AndroidModule.java
com.kyokomi.wifiproxysetting.ApplicationTest.java
com.kyokomi.wifiproxysetting.DemoApplication.java
com.kyokomi.wifiproxysetting.ForApplication.java
com.kyokomi.wifiproxysetting.ui.activity.DemoActivity.java
com.kyokomi.wifiproxysetting.ui.activity.MainActivity.java
com.kyokomi.wifiproxysetting.ui.fragment.DemoFragment.java
com.kyokomi.wifiproxysetting.ui.fragment.PlaceholderFragment.java