package io.github.scarletsky.bangumi.ui;

import android.os.Bundle;
import android.support.v4.app.FragmentManager;
import android.support.v7.app.AppCompatActivity;

import io.github.scarletsky.bangumi.R;
import io.github.scarletsky.bangumi.ui.fragments.DrawerFragment;


public class MainActivity extends AppCompatActivity {

    private FragmentManager mFragmentManager;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        DrawerFragment mDrawerFragment = new DrawerFragment();
        mFragmentManager = getSupportFragmentManager();
        mFragmentManager.beginTransaction().add(R.id.frame_main, mDrawerFragment).commit();
    }

    public FragmentManager getFM() {
        return mFragmentManager;
    }

}

@@ -323,54 +323,8 @@
  %7B%0A%0A
-    private FragmentManager mFragmentManager;%0A
 %0A   
@@ -547,32 +547,48 @@
 ment();%0A        
+FragmentManager 
 mFragmentManager
@@ -715,90 +715,12 @@
 ();%0A
+
     %7D%0A
-%0A    public FragmentManager getFM() %7B%0A        return mFragmentManager;%0A    %7D%0A%0A
 %7D%0A

remove useless code