Questions tagged as 'android-fragment'

2
answers

How to make lists and cards equal to Trello

I need to make those lists with equal cards and used by Trello, scrolling sideways. What is used to do that?     
asked by 04.09.2017 / 13:00
0
answers

Fragment updates when I hide data in Firebase

I have 3 fragments inside a display pager, and every time my database changes, it restarts the fragment.    TabAdapterAdvertiser class package com.example.fernandosilveira.findpromotion.Adapter; /** * Created by Fernando Silveira on 08/...
asked by 02.08.2017 / 17:11
0
answers

Take action by clicking a button on another tab

I have two tabbed activity , I need a program to execute a code excerpt whenever a button is clicked on another tab , but this excerpt can not be static! How do I do it? Here is the code that has to be executed when the button is cli...
asked by 20.07.2017 / 12:57
1
answer

Attempt to invoke virtual method 'java.lang.String android.widget.Spinner.toString ()' on a null object reference

I'm trying to save data from a spinner to a variable via findviewbyid, and then it's saved to SQLITE. The data is, name, type, third, and date. But when I try to set this data, it is generating the following error: FATAL EXCEPTION: main...
asked by 12.07.2017 / 20:04
0
answers

Receiving Null in GET in a Class on Android

I'm trying to pass information from a Class that is Activity and another that is a DialogFragment for an Extended Class to Activity. I get the JSON information correctly and in SET it passes the value, but in the other Class where the GET &am...
asked by 07.07.2017 / 16:55
1
answer

I'm trying to create a fragment that has an image slide some idea?

I'm trying to use this example Daimajia / AndroidImageSlider, I did not succeed..anyone can help me 'public class FragmentTest extends Fragment implements BaseSliderView.OnSliderClickListener, BaseSliderView.ImageLoadListener { private Strin...
asked by 11.07.2017 / 04:24
2
answers

Null Object Reference when opening a Dialog Fragment

You are making a mistake in opening a Dialog Fragment in a other Activity using a method . ERROR:    07-06 11: 21: 25,145 18783-18783 / com.vuforia.samples.Books   E / AndroidRuntime: FATAL EXCEPTION: main                           ...
asked by 06.07.2017 / 16:28
1
answer

How to pass the value of the EditText from a Fragment to the TextView of another Fragment?

I have a fragment containing an EditText in which the user will enter his name. In another fragment is the TextView that will receive the name entered in the previous fragment. Fragment Edit (where the user will type the name): pub...
asked by 14.04.2015 / 20:01
0
answers

RadioButton changes checked when scrolling Listview

Good afternoon, I have a problem with RadioGroup in a listview. Next, when I mark a RadioButtom and use the scroll of my listview, the markup I made appears on another RadioButto and not on what I had selected.  Here is the code for my adapter:...
asked by 04.07.2017 / 18:48
0
answers

How to open a new activity without closing the drawer menu?

I have an activity and in this activity I have the drawer menu. How do you call another activity without the drawer menu adding up? I just want to change the activity content. I tried to use fragment but it does not erase what is already on the...
asked by 23.05.2017 / 19:34