Questions tagged as 'android-fragment'

0
answers

Android - How to get Extras in an InnerFragment (Nested Fragment)?

How to get a Extra within Fragment nested in another Fragment? I have an Activity with the following Layout: Activity (que infla um){ //Aqui a activity infla 3 Fragments para criar um BottomNavigation Fragment (que infla um){...
asked by 16.06.2018 / 19:07
0
answers

Example of Navigation Drawer

How do I add a Navigation Drawer to an Activity ? I looked at several sites but found the download projects only and did not explain how to do it.     
asked by 03.06.2018 / 16:09
0
answers

How to add a Menu in a single Fragment?

I have 3 Fragments and all of them in a single Mother activity. I want the following menu: <?xml version="1.0" encoding="utf-8"?> <menu xmlns:android="http://schemas.android.com/apk/res/android"> <item android:titl...
asked by 07.05.2018 / 17:02
0
answers

Insert additional data in Firebase

I'm developing an app that is composed of 3 Fragments of register, here given the example of A, B, C, where B and C is dependent on A. What is the best way to enter data that is populated in B and C in the same Child of Fragment A within Fire...
asked by 28.03.2018 / 03:17
1
answer

problem with vectors in android studio

I'm having problems inserting vectors into android studio My project was created in api21 (5.0), I am testing on a 7.0 device and everything is ok, working perfectly, but an error occurred while running the app on a 5.1 and 6.0 device....
asked by 18.02.2018 / 16:49
0
answers

Problem calling Class Activitity

I have a class I want to call another class by clicking on one of the snippets, but it is not responding when calling the other activity gives an error in the app and application stops working. I have the following classes the first where is the...
asked by 15.02.2018 / 13:06
1
answer

How to initialize the components of a layout in the onCreate of a Fragment?

I created a fragment to show a list of items, but I need to initialize two components a listView and a ProgressBar in onCreate but I do not have the reference of the layout file they are. How do I initialize them in onCreate? Below is the code....
asked by 19.01.2018 / 00:20
0
answers

Scrolling effect with recyclerView

I'm working on an application in which I have a fragment with a title and a recyclerView. This recycler view is divided into sessions (example, pizza, soda), each session has a header and the items that it belongs to. What I want to do on this l...
asked by 11.01.2018 / 11:28
1
answer

Error creating fragment android studio

I'm doing an android course that has navigation in bars and for that is used fragments, I did the way the video however the tabs appear but the content of the fragments does not, in the console I have this error: RecyclerView: No adapter atta...
asked by 07.01.2018 / 01:03
1
answer

problems with Float Action Buttom (speedDial) - Android

Hello! I found a lib of a float action with speed dial and I'm trying to implement it in my Android project, but I'm not able to interact with the Float Button ... follows the code of the fragment containing the float: public class NovaPesq...
asked by 07.11.2017 / 20:38