1

SherlockFragmentActivity throwing required callback exception

view story
linux-howto

http://stackoverflow.com – I am new to Sherlock lib. My code is as follows public class MainActivity extends SherlockFragmentActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); com.actionbarsherlock.app.ActionBar actionbar = getSupportActionBar(); actionbar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS); actionbar.setTitle("PROFILE"); ActionBar.Tab frag1tab = actionbar.newTab().setText("LOGIN"); ActionBar.Tab frag2tab = actionbar.newTab().setText("REGISTER"); Fragment fragment1 = new F (HowTos)