Saturday, July 25, 2015

Android: Open Intent in fragments

Try this

private void openIntent() {
        Intent intent = new Intent(getActivity(), OtherClass.class);
        // Open the Activity

        startActivity(intent);
 }


No comments:

Post a Comment