// Path: benih/src/main/java/id/zelory/benih/fragment/BenihFragment.java
// public abstract class BenihFragment<Data extends Parcelable> extends RxFragment
// {
//     protected Data data;
// 
//     public BenihFragment()
//     {
// 
//     }
// 
//     @Override
//     public void onCreate(@Nullable Bundle savedInstanceState)
//     {
//         super.onCreate(savedInstanceState);
//         Timber.tag(getClass().getSimpleName());
//     }
// 
//     @Nullable
//     @Override
//     public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
//     {
//         View view = LayoutInflater.from(getActivity()).inflate(getFragmentView(), container, false);
//         ButterKnife.bind(this, view);
//         return view;
//     }
// 
//     @Override
//     public void onActivityCreated(@Nullable Bundle savedInstanceState)
//     {
//         super.onActivityCreated(savedInstanceState);
//         if (savedInstanceState != null)
//         {
//             data = savedInstanceState.getParcelable("data");
//         }
//         onViewReady(savedInstanceState);
//     }
// 
//     public void setData(Data data)
//     {
//         this.data = data;
//     }
// 
//     public Data getData()
//     {
//         return data;
//     }
// 
//     protected abstract int getFragmentView();
// 
//     protected abstract void onViewReady(@Nullable Bundle savedInstanceState);
// 
//     @Override
//     public void onSaveInstanceState(Bundle outState)
//     {
//         outState.putParcelable("data", data);
//         super.onSaveInstanceState(outState);
//     }
// 
//     @Override
//     public void onDestroy()
//     {
//         data = null;
//         super.onDestroy();
//     }
// 
//     public void replace(int containerId, BenihFragment fragment, boolean addToBackStack)
//     {
//         if (addToBackStack)
//         {
//             getFragmentManager().beginTransaction()
//                     .replace(containerId, fragment, fragment.getClass().getSimpleName())
//                     .addToBackStack(null)
//                     .commit();
//         } else
//         {
//             getFragmentManager().beginTransaction()
//                     .replace(containerId, fragment, fragment.getClass().getSimpleName())
//                     .commit();
//         }
//     }
// 
//     public void replace(int containerId, BenihFragment fragment, boolean addToBackStack, int transitionStyle)
//     {
//         if (addToBackStack)
//         {
//             getFragmentManager().beginTransaction()
//                     .replace(containerId, fragment, fragment.getClass().getSimpleName())
//                     .setTransitionStyle(transitionStyle)
//                     .commit();
//         } else
//         {
//             getFragmentManager().beginTransaction()
//                     .replace(containerId, fragment, fragment.getClass().getSimpleName())
//                     .setTransitionStyle(transitionStyle)
//                     .commit();
//         }
//     }
// 
//     protected ActionBar getSupportActionBar()
//     {
//         return ((BenihActivity) getActivity()).getSupportActionBar();
//     }
// 
//     protected void setSupportActionBar(Toolbar toolbar)
//     {
//         ((BenihActivity) getActivity()).setSupportActionBar(toolbar);
//     }
// }
// 
// Path: app/src/main/java/id/zelory/codepolitan/controller/event/ReloadEvent.java
// public class ReloadEvent
// {
// }


import android.os.Bundle;
import android.support.v4.app.Fragment;
import java.lang.reflect.Field;
import id.zelory.benih.fragment.BenihFragment;
import id.zelory.benih.util.BenihBus;
import id.zelory.codepolitan.R;
import id.zelory.codepolitan.controller.event.ReloadEvent;
/*
 * Copyright (c) 2015 Zelory.
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *       http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */

package id.zelory.codepolitan.ui.fragment;




/**
 * Created on : August 3, 2015
 * Author     : zetbaitsu
 * Name       : Zetra
 * Email      : zetra@mail.ugm.ac.id
 * GitHub     : https://github.com/zetbaitsu
 * LinkedIn   : https://id.linkedin.com/in/zetbaitsu
 */
public class HomeFragment extends BenihFragment
{
    @Override
    protected int getFragmentView()
    {
        return R.layout.fragment_home;
    }

    @Override
    protected void onViewReady(Bundle bundle)
    {
    }

    @Override
// Path: benih/src/main/java/id/zelory/benih/fragment/BenihFragment.java
// public abstract class BenihFragment<Data extends Parcelable> extends RxFragment
// {
//     protected Data data;
// 
//     public BenihFragment()
//     {
// 
//     }
// 
//     @Override
//     public void onCreate(@Nullable Bundle savedInstanceState)
//     {
//         super.onCreate(savedInstanceState);
//         Timber.tag(getClass().getSimpleName());
//     }
// 
//     @Nullable
//     @Override
//     public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
//     {
//         View view = LayoutInflater.from(getActivity()).inflate(getFragmentView(), container, false);
//         ButterKnife.bind(this, view);
//         return view;
//     }
// 
//     @Override
//     public void onActivityCreated(@Nullable Bundle savedInstanceState)
//     {
//         super.onActivityCreated(savedInstanceState);
//         if (savedInstanceState != null)
//         {
//             data = savedInstanceState.getParcelable("data");
//         }
//         onViewReady(savedInstanceState);
//     }
// 
//     public void setData(Data data)
//     {
//         this.data = data;
//     }
// 
//     public Data getData()
//     {
//         return data;
//     }
// 
//     protected abstract int getFragmentView();
// 
//     protected abstract void onViewReady(@Nullable Bundle savedInstanceState);
// 
//     @Override
//     public void onSaveInstanceState(Bundle outState)
//     {
//         outState.putParcelable("data", data);
//         super.onSaveInstanceState(outState);
//     }
// 
//     @Override
//     public void onDestroy()
//     {
//         data = null;
//         super.onDestroy();
//     }
// 
//     public void replace(int containerId, BenihFragment fragment, boolean addToBackStack)
//     {
//         if (addToBackStack)
//         {
//             getFragmentManager().beginTransaction()
//                     .replace(containerId, fragment, fragment.getClass().getSimpleName())
//                     .addToBackStack(null)
//                     .commit();
//         } else
//         {
//             getFragmentManager().beginTransaction()
//                     .replace(containerId, fragment, fragment.getClass().getSimpleName())
//                     .commit();
//         }
//     }
// 
//     public void replace(int containerId, BenihFragment fragment, boolean addToBackStack, int transitionStyle)
//     {
//         if (addToBackStack)
//         {
//             getFragmentManager().beginTransaction()
//                     .replace(containerId, fragment, fragment.getClass().getSimpleName())
//                     .setTransitionStyle(transitionStyle)
//                     .commit();
//         } else
//         {
//             getFragmentManager().beginTransaction()
//                     .replace(containerId, fragment, fragment.getClass().getSimpleName())
//                     .setTransitionStyle(transitionStyle)
//                     .commit();
//         }
//     }
// 
//     protected ActionBar getSupportActionBar()
//     {
//         return ((BenihActivity) getActivity()).getSupportActionBar();
//     }
// 
//     protected void setSupportActionBar(Toolbar toolbar)
//     {
//         ((BenihActivity) getActivity()).setSupportActionBar(toolbar);
//     }
// }
// 
// Path: app/src/main/java/id/zelory/codepolitan/controller/event/ReloadEvent.java
// public class ReloadEvent
// {
// }


// Path: app/src/main/java/id/zelory/codepolitan/ui/fragment/HomeFragment.java
import android.os.Bundle;
import android.support.v4.app.Fragment;
import java.lang.reflect.Field;
import id.zelory.benih.fragment.BenihFragment;
import id.zelory.benih.util.BenihBus;
import id.zelory.codepolitan.R;
import id.zelory.codepolitan.controller.event.ReloadEvent;

/*
 * Copyright (c) 2015 Zelory.
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *       http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */

package id.zelory.codepolitan.ui.fragment;




/**
 * Created on : August 3, 2015
 * Author     : zetbaitsu
 * Name       : Zetra
 * Email      : zetra@mail.ugm.ac.id
 * GitHub     : https://github.com/zetbaitsu
 * LinkedIn   : https://id.linkedin.com/in/zetbaitsu
 */
public class HomeFragment extends BenihFragment
{
    @Override
    protected int getFragmentView()
    {
        return R.layout.fragment_home;
    }

    @Override
    protected void onViewReady(Bundle bundle)
    {
    }

    @Override
    public void replace(int containerId, BenihFragment fragment, boolean addToBackStack)