@@ -0,0 +1,1653 @@
+package org.lagonette.app.app.widget.performer;%0A%0Aimport android.support.annotation.IdRes;%0Aimport android.support.annotation.NonNull;%0Aimport android.support.annotation.Nullable;%0Aimport android.support.v4.app.FragmentManager;%0Aimport android.support.v7.app.AppCompatActivity;%0A%0Aimport org.lagonette.app.app.fragment.FiltersFragment;%0A%0Apublic class LandscapeFiltersFragmentPerformer %7B%0A%0A%0A    @Nullable%0A    private FiltersFragment mFragment;%0A%0A    @NonNull%0A    private FragmentManager mFragmentManager;%0A%0A    @IdRes%0A    private final int mFiltersContainerRes;%0A%0A    public LandscapeFiltersFragmentPerformer(%0A            @NonNull AppCompatActivity activity,%0A            @IdRes int filtersContainerRes) %7B%0A        mFragmentManager = activity.getSupportFragmentManager();%0A        mFiltersContainerRes = filtersContainerRes;%0A    %7D%0A%0A    public void init () %7B%0A        loadFragment();%0A    %7D%0A%0A    public void restore() %7B%0A        mFragment = (FiltersFragment) mFragmentManager.findFragmentByTag(FiltersFragment.TAG);%0A        if (mFragment == null) %7B%0A            loadFragment();%0A        %7D%0A    %7D%0A%0A    public void unloadFragment() %7B%0A        if (mFragment != null) %7B%0A            mFragmentManager.beginTransaction()%0A                    .remove(mFragment)%0A                    .commit();%0A            mFragment = null;%0A        %7D%0A    %7D%0A%0A    public void loadFragment() %7B%0A        mFragment = FiltersFragment.newInstance();%0A        mFragmentManager%0A                .beginTransaction()%0A                .add(%0A                        mFiltersContainerRes,%0A                        mFragment,%0A                        FiltersFragment.TAG%0A                )%0A                .commit();%0A    %7D%0A%0A%7D%0A

Add LandscapeFiltersFragmentPerformer