python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Remove Fragment from backstack with Navigation components
I have a PinCreateActivity with a navHost fragment with 2 Fragments PinSetup and PinCreate fragments.
When the Activity launches, the PinSetup is the default fragment and after that with a click butto...
james04
Votes: 0
Answers: 1
Navigation component, popping back to another modules Destination
I have a multi module project that uses Navigation Component to navigate between Fragments. This means that in order to get to another module, I have to launch a DeepLink using findNavController().nav...
Tyler
Votes: 0
Answers: 1
setText method does not work inside the onViewCreated method
DetailsFragment -> onCreateView
@Override
public View onCreateView(@NonNull LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
if (fragmentBinding == null)
fragm...
Taha Sami
Votes: 0
Answers: 0
navigate from main activity to fragment
Im using navgraph to navigate between fragments.
Now, i implemet notifications in my app, so, when i click on the notification im goingo to the MainActivity with pending intent.
In the MainActivity I ...
Electrocode
Votes: 0
Answers: 2