Questions tagged as 'android-fragment'

1
answer

Activity Bugando + Memory error

Good afternoon programmers, I'm developing an application and in a certain part of it I populate textviews with some data coming from a webservice. When requesting data from the webservice in a specific class of all right the object comes comple...
asked by 23.05.2017 / 16:34
0
answers

How to put an Expandable ListView in an Aba?

Opa, I can not configure this type of listView in an ABA. For example, I have screen 1 when I click the button on screen 1 it goes to the screen that I want to put the tab (named after the college campuses). Only within each tab, I want...
asked by 25.05.2017 / 15:44
0
answers

Parameters between fragment and activity

I have an activity with a fragment inside, however I want to pass the parameters in the fragment when I change activity, what do I do?     
asked by 27.04.2017 / 16:06
1
answer

Invoke Fragment within Fragment

I'm developing a chat. I have a MainActivity in which I invoke a fragment (which extends baseAdapter), where all contacts in a listview are ready. When I click on a contact, I want to open a new fragment that represents the send / receive window...
asked by 26.04.2017 / 13:18
1
answer

Back to the screen fragment

Good evening, everyone. I have a main and 3 classes fragment. When accessing main, I can slide to each fragment correctly. However, in each fragment I have functionalities. If I access one of these functions and try to go back it always opens...
asked by 25.04.2017 / 23:07
2
answers

OnListItemClick not working in ListFragment

The Toast of the onListItemClick method never appears, does anyone know what I did wrong? Code: public class TiposFragment extends ListFragment { private ArrayList<Tipo> tipos; private TipoAdapter tipoAdapter; private int selecionado; @...
asked by 05.05.2017 / 02:43
3
answers

How to add a SearchView in a fragment on Android?

I created a Fragment and I'm trying to add a SearchView to this Fragment , but to no avail, I found no consistent example on the Internet, and Google documentation only implements SearchView / em>. Here is the code: Fr...
asked by 20.04.2017 / 03:36
1
answer

Load a Listview into a Fragment from a Fragment

I'm in the following situation: I have a TabBar with 2 Fragments (ProductFragment and CartFragment). Within the ProductFragment I have a ListView with an add button that fires, adds an item in a ListView inside the CartFragment, and also chan...
asked by 10.04.2017 / 17:11
0
answers

Method only works while minimizing / maximizing app

I'm developing an app for TCC using the Google Places API . A part of the code returns the places / establishments close to the user. However, when I run the app and enter the class responsible I have no return. But if I minimize the app and th...
asked by 22.03.2017 / 17:39
0
answers

Fill Spinner and ListView - Fragment

I'm developing an application with Fragment. I have two fragments, where in one there is a ListView and the other a Spinner. The ListView and Spinner is populated with data that comes from the database. During debugging I realized that whe...
asked by 20.03.2017 / 23:26