Questions tagged as 'android-fragment'

2
answers

How do I implement 'sign in with google' in my android application?

I'm having trouble integrating 'Sign in with google' into my app, followed documentation , is not working. Any tips and help?     
asked by 30.07.2014 / 21:35
1
answer

How to send data from an Activity to a Fragment?

As you can see in the code below I can send data from one Fragment to another and also from a Fragment to Activity but I have tried everything to send from Activity to Fragment but I can not: MainActivity.java public class MainActivity exten...
asked by 30.06.2016 / 02:07
1
answer

Manage button back between fragments

I'm working on an application for college in which I'm using fragments for all my screens for reuse issues. The problem is that I can not control the behavior of the back button between fragments. Within a fragment, I call another fragment, b...
asked by 22.05.2014 / 19:28
1
answer

Get data from 2 fragments by clicking an Action Button (Toolbar)

Come on! I was searching the internet for how I could get the EditText values of 2 Fragments by clicking an Action Button from the Toolbar , but I did not find anything related. What I found was passing the Fragment data to Activ...
asked by 28.10.2017 / 09:13
1
answer

Parameter passing from one fragment to another

I do not know how to work with two fragments, I looked for a few things here but could not find it right. From Activity to another I use Bundle and it works, but I'm not sure how to use it with Fragment. I'm working with Navi...
asked by 04.10.2016 / 01:35
2
answers

"Refresh" of the fragment with listview

I have a Fragment that, clicked on a RadioButton , a route is calculated, after this route calculation, a ListView is displayed with the results. By clicking on the other radiobutton option, the routes are calculated again...
asked by 16.09.2016 / 20:52
1
answer

How to call a hosted id in the extended activity layout of Fragment?

Well, I'm developing an app, which has a navigation drawer and in this navigation I put it to open each item in a new activity, and in each acitivty will have a layout, so far so good. But now, I'm trying to call a webview with progress bar, eve...
asked by 20.02.2016 / 21:19
1
answer

Implement screens in list fragment

I'm working on my first project with ListFragment looking on the internet for tutorials and even the online course I'm doing. When the onListItemClick is created, it sends Toast to the screen, but I want it to open a new...
asked by 26.02.2015 / 22:20
1
answer

How to fix a Bug loading a Fragment inside another Fragment?

I have a MainActivity with Navigation Drawer, and all items in this browser open in Fragments. When I start the application I load the homepage as follows: android.support.v4.app.FragmentTransaction ft = getSupportFragmentManager().beg...
asked by 02.03.2018 / 02:31
2
answers

Google Maps returning Latitude and Longitude as zero and problems when placing the Marker

I'm trying to use Google Maps, and set a location on it (pulling the user's Latitude and Longitude). It pulls and displays in a Toast, but it does not setta this in the onMapReady or Marker method, and if I put a Log in onResume (), it shows...
asked by 19.02.2018 / 15:42