How can I remove the Hamburger icon from my NavigationView when I go to another fragment and then change it to a "back" icon?
NavigationActivity.kt:
package com.example.gonzalo.proyecto_android_2018.activities
import android.support.v4.a...
I'm doing a Slider with animations instead of images, the problem is that I do not know what method to add to use an array of type "InputStream", I put this type of data since the animations are in the assets folder. I am also using the lottie l...
I'm having a big problem with a snackbar, it turns out that I created a personalized follow-up of some tutorials I found on the internet, everything is perfect, until it has to be shown, I tell you a little more and I go to the error.
From a...
I am designing a bus app but at the time of compiling I get the error "error: failed linking references." I do not know what could have happened, before I had errors of the strings that had changed in the file "string" but I fixed it, now I got...
I'm doing a NavigationView with its Fragments to change view and to do it I just create a method "setupFragment (fragment: Fragment)" with a parameter of type Fragment so that it can put all the fragments it creates, but after implementing it I...
I have an application that shows me a fragment, here the problem is that when turning the mobile, the Navigation Drawer is restarted, and it takes me out of the fragment that I have in view, some idea of how to turn the mobile do not restart the...
I have an application with several fragments, when I slide the screen horizontally they appear and each one has a background color, I want that when one is in focus, that a text appears (Toast), can this be?
I have an activity that contains a fragment and a button outside of that fragment, I need to create an event that, by clicking on the button, replaces this fragment with another one. Here is a piece of code for you to see, the fragment " Fragmen...
I have a fragment that I am designing in my Google Maps application and I would like to know how to place a map that I design with a route and markers within the Maps option.
I try to do a CRUD in Android (java), the project is based on a navigation drawer as a menu and an Activity that works as a container for the fragments I use in the project for this crud.
I have a single fragment in which I want to implement the...