android-fragments Questions
4
(I've added an update on the bottom of the post)
I am currently working on a project that will support multiple language. I have written all strings for all languages.
I use BaseActivity, Applica...
Benisch asked 3/11, 2017 at 3:10
4
Solved
I have 2 activities with a separate NavHostFragment which hosts 3 fragments, these 3 fragments are then displayed in my activity's layout ContainerView.
Note: My 2 activities have the same name and...
Pestilential asked 10/9, 2022 at 10:37
7
Solved
I started creating of app which use one activity (Navigation Drawer) and many fragments.
But I unable to use toolbar back button to navigate back from fragments. Hardware back button works perfectl...
Sidonie asked 10/1, 2018 at 10:57
4
I want to develop a single Activity multi fragments Apps using Jetpack Compose.
For recyclerView, we have Vertical and HorizontalScroller. But, for fragments what should I use.
fun loadFragment(f...
Bluhm asked 4/3, 2020 at 6:22
4
Another user asked the same question, but I could not understand the solution. I also don't understand why the Android Developer page doesn't show a path according to this new version.
buildscript ...
Pennyworth asked 9/5, 2022 at 14:55
4
Solved
I'm playing around with compose and tried to include a fragment inside a compose AndroidView.
So in my situation, we have AFragment with a ComposeView and inside the ComposeView there is an Android...
Linhliniment asked 29/11, 2021 at 9:0
5
hello my problem is the following, I have 2 fragments, one receives with SetFragmentResultListener and another sends with setFragmentResult
The problem is that setFragmentResult does not work insid...
Accession asked 17/2, 2021 at 19:33
8
Solved
Imagine, I have FragmentA from which I startDialogFragment (there are EditText in box). How to can I get back the value from the EditText to FragmentA? I try to make something like this, and this b...
Collegium asked 2/8, 2013 at 20:13
3
Solved
I am trying to implement CameraX using this tutorial: https://codelabs.developers.google.com/codelabs/camerax-getting-started/#5 My app has one activity, navigation host and two fragments. Also I a...
Cleodel asked 28/7, 2019 at 20:1
2
I have main fragment with ViewPager2 that contains other fragments.
Each child fragment can open another detail fragment (main fragment replaced with details fragment).
When I go back to from detai...
Moratorium asked 24/4, 2022 at 10:51
3
Using a Compose view that inherent from AbstractComposeView
inside an XML ui code of a fragment
Knowing that this fragment is part of a navigation graph (Jetpack navigation)
When i press the back b...
System asked 28/6, 2022 at 6:33
4
i'm stuck in my application because i have to do a fragment with the navigation drawer in kotlin.. can anyone help? I have search a lot of things in web but i didn't find anything yet...
Down here ...
Alessi asked 12/11, 2017 at 12:35
12
Solved
FragmentManager is already executing transactions. When is it safe to initialise pager after commit?
I have an activity hosting two fragments. The activity starts off showing a loader while it loads an object. The loaded object is then passed to both fragments as arguments via newInstance methods ...
Thom asked 2/8, 2016 at 13:48
5
Solved
I'm trying to handle the back button in a BottomSheetDialogFragment, which is a DialogFragment, using 'androidx.activity:activity-ktx:1.1.0-alpha01' and 'androidx.fragment:fragment-ktx:1.2.0-alpha0...
Choate asked 23/7, 2019 at 8:39
9
Solved
I am using registerForActivityResult for google sign in implementation in my development. Everything was working fine until I upgraded my fragment dependency to 1.3.0-beta01. The application curren...
Towle asked 22/10, 2020 at 6:55
9
Solved
I have a Fragment FR1 that contains several Nested Fragments; FRa, FRb, FRc. These Nested Fragments are changed by pressing Buttons on FR1's layout. Each of the Nested Fragments have several input ...
Goosander asked 17/4, 2014 at 20:35
3
Solved
I have an activity which holds and shows multiple fragments.
When i re-enter the fragment it auto fills text in all the editTexts. The same text for all fields as well.
Example:
Open fragment a...
Malefaction asked 4/4, 2017 at 13:29
4
Solved
Anyone dealing with ViewPager2 + Fragments + GoogleMap?
I've ran into a really interesting issue, inside my viewpager i have two tabs that each render fragments.
One of the fragments spawns a goo...
Swellhead asked 4/4, 2020 at 3:55
4
I'm working with a ListFragment and doing a onListItemClick. Everything works fine, but now I want to use a long Item Click (e.g setOnItemLongClickListener(new OnItemLongClickListener() for an Acti...
Crittenden asked 18/7, 2011 at 12:5
2
Solved
I'm new to android studio and dont fully understand the working of it yet but I've been attempting to send data from one fragment to another in android studio. I've not been able to find a clear an...
Sherrisherrie asked 27/11, 2021 at 14:36
6
I have a Fragment that I want to test. I created a test Activity to which I add this Fragment and run some Espresso tests.
However, Espresso does not find any of the views inside the Fragment. It d...
Lemures asked 18/2, 2016 at 2:2
8
Solved
Please can someone help me with fragments from the navigation drawer, for some reason I can't get them to work and all the code looks right.
Here is the link to the source code.
Deterioration asked 10/9, 2016 at 8:46
18
Solved
I using menu drawer which has more Fragments. In some Fragments I have menu item REFRESH but in some fragments I want hide this menu item (I don't want show menu but I don't want hide ActionBar).
...
Pornocracy asked 1/2, 2014 at 13:16
3
Could any one help me out with this situation.
I have implemented OnUserInteraction() method for Android Activity it is working fine for me.
But I want it for Fragments too.How can i able call On...
Trefoil asked 28/11, 2016 at 10:37
8
Solved
There are more fields below the keyboard. This happened when i updated the support library. I know it's Kotlin but it looks almost the same as java. How do I fix this issue?
This is what it looks ...
Antherozoid asked 19/6, 2017 at 8:12
1 Next >
© 2022 - 2024 — McMap. All rights reserved.