package circlebinder.common.app;

import android.support.v4.app.Fragment;

import net.ichigotake.common.view.inputmethod.SoftInput;

/**
 * 全てのフラグメントの基底クラス
 */
abstract public class BaseFragment extends Fragment {

    @Override
    public void onResume() {
        super.onResume();
        SoftInput.hide(getView());
    }
}

@@ -46,33 +46,106 @@
 oid.
-support.v4.app.Fragment;%0A
+os.Bundle;%0Aimport android.support.v4.app.Fragment;%0A%0Aimport net.ichigotake.common.os.RestoreBundle;
 %0Aimp
@@ -281,16 +281,289 @@
 ment %7B%0A%0A
+    private RestoreBundle restoreBundle;%0A%0A    protected RestoreBundle getRestoreBundle(Bundle savedInstanceState) %7B%0A        if (restoreBundle == null) %7B%0A            restoreBundle = new RestoreBundle(this, savedInstanceState);%0A        %7D%0A        return restoreBundle;%0A    %7D%0A%0A
     @Ove

add BaseFragment#getRestoreBundle