@@ -0,0 +1,1436 @@
+/**   %0A * @Title: BaseFrag.java %0A * @Package com.yeepay.mobile.tv.base %0A * @Description: TODO%0A * @author SilentKnight %7C%7C happychinapc%5Bat%5Dgmail%5Bdot%5Dcom   %0A * @date 2014 2014%E5%B9%B412%E6%9C%8826%E6%97%A5 %E4%B8%8B%E5%8D%886:45:43 %0A * @version V1.0.0   %0A */%0Apackage me.pc.mobile.helper.v14.base;%0A%0Aimport android.app.Fragment;%0Aimport android.os.Bundle;%0Aimport android.view.LayoutInflater;%0Aimport android.view.View;%0Aimport android.view.ViewGroup;%0A%0A/**%0A * @ClassName: BaseFrag%0A * @Description: TODO%0A * @author SilentKnight %7C%7C happychinapc@gmail.com%0A * @date 2014%E5%B9%B412%E6%9C%8826%E6%97%A5 %E4%B8%8B%E5%8D%886:45:43%0A * %0A */%0Apublic abstract class BaseFrag extends Fragment %7B%0A%09/*%0A%09 * (non-avadoc) %3Cp%3ETitle: onCreateView%3C/p%3E %3Cp%3EDescription: %3C/p%3E%0A%09 * %0A%09 * @params @param inflater%0A%09 * %0A%09 * @params @param container%0A%09 * %0A%09 * @params @param savedInstanceState%0A%09 * %0A%09 * @params @return%0A%09 * %0A%09 * @overrided @see%0A%09 * android.app.Fragment#onCreateView(android.view.LayoutInflater,%0A%09 * android.view.ViewGroup, android.os.Bundle)%0A%09 */%0A%09@Override%0A%09public View onCreateView(LayoutInflater inflater, ViewGroup container,%0A%09%09%09Bundle savedInstanceState) %7B%0A%09%09// TODO Auto-generated method stub%0A%09%09return initLayout(inflater);%0A%09%7D%0A%0A%09public void onViewCreated(View view, Bundle savedInstanceState) %7B%0A%09%09findViewById(view);%0A%09%09initWidget();%0A%09%09loadData();%0A%09%7D;%0A%0A%09public abstract View initLayout(LayoutInflater inflater);%0A%0A%09public abstract void findViewById(View parent);%0A%0A%09public abstract void initWidget();%0A%0A%09public abstract void loadData();%0A%7D%0A

Create BaseFrag.java