package org.edx.mobile.view; import android.os.Bundle; import android.support.v4.app.Fragment; import com.google.inject.Inject; import org.edx.mobile.base.BaseSingleFragmentActivity; public class DiscussionAddPostActivity extends BaseSingleFragmentActivity { @Inject DiscussionAddPostFragment discussionAddPostFragment; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); blockDrawerFromOpening(); } @Override public Fragment getFirstFragment() { discussionAddPostFragment.setArguments(getIntent().getExtras()); return discussionAddPostFragment; } }