@@ -0,0 +1,384 @@
+package com.lean56.andplug.comlib.ui.fragment;%0A%0Aimport android.support.v4.app.Fragment;%0A%0A/**%0A * Base Fragment%0A *%0A * @author Charles%0A */%0Apublic class BaseFragment extends Fragment %7B%0A%0A    /**%0A     * Is this fragment usable from the UI-thread%0A     *%0A     * @return true if usable, false otherwise%0A     */%0A    protected boolean isUsable() %7B%0A        return getActivity() != null;%0A    %7D%0A%0A%7D%0A

add basefragment