Answer the question
In order to leave comments, you need to log in
Why doesn't the activity switch when the button from the fragment is pressed?
I want to open a new activity by pressing a button in the fragment. I do it like this:
Intent intent = new Intent(getActivity(), BikeChoiseActivity.class);
//getActivity().startActivity(intent);
//getActivity().finish();
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question