Questions tagged as 'android-fragment'

1
answer

Problem with Navigation Drawer (query)

I'm getting into Android Studio and I need to get a question out. On the one hand I have a Activity that within you has 2 fragment ( Data and Details ) where the 2nd reacts depending on what is selected in the first...
asked by 21.02.2018 / 17:25
0
answers

How to add fragments in order within an activity with a button?

This is the query I have, I have a ContainerActivity that contains an initial fragment, my RelevamientoFragment which is this screen In the floating button to add that they see the image, I have a case that opens another fragment, in this...
asked by 22.02.2018 / 02:57
1
answer

get the time and minutes of a TimePickerDialog on frgaments android

Does anyone know how to get the Time and the minute of a TimePickerDialog? I have two buttons in a fragment, one that triggers a DataPickerDialog from which I get the date very well and a button that launches a TimePickerDialog but gives me an e...
asked by 23.02.2018 / 05:34
0
answers

How can I avoid that when I call a fragment, it is not recreated, but it shows the data I had from the beginning?

I am doing a project in Android Studio, I require that, in a navigation drawer, when selecting a fragment that had already been loaded and emptied information in it (it is the first fragment that appears, in the onCreate event), the task to recr...
asked by 05.03.2018 / 02:13
0
answers

I have problems with the transaction of a Fragments

package cu.castanedapp.good; import android.app.FragmentTransaction; import android.content.Intent; import android.os.Bundle; import android.support.v4.app.FragmentManager; import android.support.v7.app.AppCompatActivity; import android.view....
asked by 19.02.2018 / 18:11
1
answer

Problem when calling fragment methods from another

I tell you that I have been doing a project from a tabbed activity, where the tabs are based on fragments. In one of the fragments I have three CheckBox elements, and what I want to do is disable these CheckBox from another fragment. I have trie...
asked by 08.02.2018 / 22:19
1
answer

Problem with library MPAndroidChart when trying to use a fragment method from my main activity

I tell you that I have been doing a project from a tabbed activity, and that each tab is based on a fragment, on one of the tabs I am showing three different graphs using the MPAndroidChart library. What I do is receive data by bluetooth with my...
asked by 08.02.2018 / 15:05
0
answers

Going from one fragment to another in a tabbed activity

Greetings ... I tell you that I am working on an app based on a tabbed activity, in which I have four tabs (setup, status, charts and settings) where each tab consists of a fragment. What I try to do is to move from the tab setup to settings or...
asked by 28.01.2018 / 01:14
1
answer

Firebase data is not displayed

Very good to everyone. I'm trying to load and display the firebase data in a listview hosted in a fragment. To begin with, I have my Class Bars as follows. public class Bares { String nombre; String direccion; String foto; p...
asked by 09.12.2017 / 15:36
0
answers

problems with fragment

I have an activity that controls a session and it also has many fragments that are the whole operation of the app, it turns out that I'm making a request for rest services in the fragment's onCreateView, and change fragments using the addToBackS...
asked by 06.12.2017 / 23:54