8,092 questions
1 vote
0 answers
19 views
Fragments used in bottomNavigationView reCreated always after popping back to the controller Fragment
I am working on a project where I have 5 separate types of lists created, using a bottomNavigationView setup. The lists are only showing 25 items at a time, so I am paging the results. When I am ...
0 votes
0 answers
86 views
TalkBack not reading fragment content when replaced with addToBackStack in Android
I'm facing an accessibility issue in my Android app when replacing fragments with addToBackStack. When a fragment is added without addToBackStack, TalkBack reads it properly. But if I use ...
0 votes
0 answers
27 views
When i call the onCreate, onCreateOptions menu, OnOptionItemsSelected in fragment class(for example: To add a menu item(refresh)
/* * ForecastFragment */ public class ForecastFragment extends Fragment { //------------------------------ //---- DATA MEMBERS ---- //--------------------...
0 votes
0 answers
29 views
Facing Issue when using TabLayout, BottomSheetFragment and NavigationComponent
Hey guys I got stuck in a strange scenario I have a bottom sheet with Tab Layout. Each contains a fragment. Consider we have Fragment A and Fragment B. In fragment B I have added Nav graph with 2 ...
0 votes
0 answers
68 views
Is There A Way Around Re-Typing A Namespace In A Private Module Fragment?
When defining a private module fragment for a C++20 module, the module :private; line doesn't appear to be able to be defined in a namespace. As a result, I find I have to type my namespace in my ...
0 votes
0 answers
66 views
How to get top and bottom margin using android kotlin
Click here to see screenshot ROTA chart As shown in attached screenshot I am setting bars based on time line and managing their top using below calculation here I am facing one issue which is As you ...
0 votes
0 answers
27 views
Angular fragment router with route buttons does not render component
I am trying to use the fragment routes on angular18(standalone components) for the first time. Clicking on the route links changes the routes to the fragment route, eg "/#about" but the ...
0 votes
0 answers
38 views
After the latest update of VSCode, my TSX code started throwing errors
The Vue code runs and builds without any issues, but it does show an error. Colleagues who haven't updated VSCode don't encounter this error, but those who have updated do. Importing Fragment from ...
-1 votes
1 answer
55 views
Recycler View Item automatically starting an action after the previous item has finished its action [closed]
People were confused with my earlier question so let me ask it in another way. I have created items using recyclerview. Now each item contains an edit text and a button.What i want is that after I've ...
2 votes
1 answer
58 views
Saving the fragment state correctly in android java
I am implementing an Android app in Java using Android Studio. We are following the MVVM architecture with Jetpack Compose, and we have a navigation bar with various fragments, including a home ...
2 votes
0 answers
45 views
How do I render the field lines of a vector field using a fragment shader
So I'm trying to make some electric field lines on the GPU. The electric field function just loops over all charges and adds up the forces resulting in a vector that points in the direction of the ...
0 votes
1 answer
121 views
Predictive back gets stuck if an edit text has focus during the back gesture
I'm currently trying to implement predictive back in my app and I ran into a bug. This appears to be an Android 14 or Samsung OS bug. The conditions of the bug appears to be: predictive back is ...
0 votes
1 answer
104 views
Can't replace TextView among FrameLayouts
I was trying to replace TextView among the fragments, which are placed in FrameLayouts. So the TextView is seen in the design, but isn't seen in app on virtual device. <?xml version="1.0" ...
0 votes
1 answer
57 views
how to solve the Navagation Selected status while switch Fragment?
first step: switch home_fragment to dashboard_fragment by navagation controller second step : switch dashboard_fragment to scan_fragment as below @Override public void onClick(View v) { ...
0 votes
0 answers
34 views
Reuse the same fragment in multiple navigation options of the same graph
I have a BottomNavigationView linked to a nav_graph. I want that all my BottomNavigationView options open the same fragment. The option ID is used in the Java code to determine what to show in the ...