Questions tagged as 'android-fragment'

0
answers

Fragment and Firebase

I have an android app that uses firebase, everything is fine but when I try to remove a value from the base from a fragment my app stops (but it is deleted). I have tried eliminating the value from an activity and everything works normally. The...
asked by 28.08.2017 / 03:48
0
answers

How to fill a GridView from a fragment in Android?

I have a problem I was reviewing a tutorial on how to fill a GridView on Android, but that was filled from an Activity, I tried it and if it works perfectly, but when I put it in a Fragment is where I throw an error. .. As you can see i...
asked by 02.08.2017 / 17:23
0
answers

THE BOTTOM NAVIGATION VIEW ESCONDE

I have a bottom navigation view in my app and I have a problem because when switching to the main fragment, half of the Bottom Navigation View is hidden. activity_main: <android.support.design.widget.CoordinatorLayout xmlns:android="ht...
asked by 15.09.2017 / 17:08
1
answer

I have a problem displaying a ListView in a Fragment

I have a problem trying to show listview in fragment . The listview appears in white, but when I put a break point everything goes perfect. This is the code of my fragment : public class ListRequestFragment extends F...
asked by 09.07.2017 / 08:05
0
answers

E / RecyclerView: No adapter attached; skipping layout Android 4.4 KitKat

I have this error E / RecyclerView: No adapter attached; Skipping layout , but I do not know why. I have read different questions on the same subject, but nothing could help me On the other hand the error does not show me in Android 5.0, whe...
asked by 23.06.2017 / 18:03
1
answer

Problems with ACCESS FINE LOCATION permission

I am trying to give permissions in time of use. The permission I want to give is the location. I do the following I define in the Manifest <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"></uses-permission...
asked by 15.06.2017 / 06:05
2
answers

TextView and ProgressBar do not show Android data

I have checked the data that must show are true by means of a toast that prints them, but when wanting to show in the TextView (lessons_count) the original data does not do it, even if I put it to show a Hello. but where I update progress_genera...
asked by 18.06.2017 / 09:22
1
answer

move to a fragmet using a bottonbar

the problem is the next I have an activiy and in that activity I have a buttonBar , when I try to pass to fragment by clicking a buttonBar button gives me an error. This is the code public class ElectricalCalculators extend...
asked by 21.05.2017 / 04:16
1
answer

OnClick in Fragment does not change my TextView [duplicated]

public class MainMenu extends Fragment implements OnClickListener{ @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View v = inflater.in...
asked by 21.04.2017 / 10:42
0
answers

ListView in fragment

Good morning! I am developing an app in Android Studio where I will use a listView in a Fragment, I have achieved the normal use of listView in normal activitys but when implementing this type of code in a fragment it does not allow it, I am doi...
asked by 01.04.2017 / 17:27