Back to project page InfuseFactory.
The source code is released under:
/** * Copyright (c) 2014 Lazu Ioan-Bogdan * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from ...
If you think the Android project InfuseFactory listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.factory.android; /* w w w.jav a 2 s . c o m*/ import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.View; import com.factory.InfuseFactory; /** * * @author Lazu Ioan-Bogdan * */ public class InfuseFragment extends Fragment { @Override public void onCreate(Bundle savedOptionState) { InfuseFactory.getScopedInfuser(this).infuseMembers(this); super.onCreate(savedOptionState); } public void onViewCreated(View view, Bundle savedInstanceState) { super.onViewCreated(view, savedInstanceState); InfuseFactory.getScopedInfuser(this).infuseViews(this); } }