Questions tagged as 'fragment'

0
answers

How to disable the On Stop method?

I'm developing an application and I'm using 3 fragments in a slider layout. And when I slide from the first tab to the third tab, my first tab calls the onStop method and therefore everything in that fragment is destroyed. Is there any way to...
asked by 11.08.2018 / 02:41
1
answer

Back button deletes fragment in main activity

Hello, how are you? I'm doing a fragment that goes server as a sort of menu cards in the initial interface. I have made it every time the app opens It creates this interface inside a ConstrainsLayout, however when I open it and click back it dis...
asked by 23.07.2018 / 18:42
0
answers

Error in the fragment

I'm trying to make a calendar for birthdays, but in fragment where I put the calendar is giving an error that I do not know how to fix. Error 06-02 01:17:33.346 15106-15106/com.example.educador.myapplication E/AndroidRuntime: FATAL EXCE...
asked by 02.06.2018 / 02:48
0
answers

How do I prevent the refresh of my webview in the fragment?

In my app if I go from the first fragment to the third one, and I go back to the first one the webview restarts the page, how do I solve the problem? obs: I'm a beginner so if possible have a little patience.     enter code here > packag...
asked by 20.05.2018 / 20:26
0
answers

Save data when changing Fragment

I want to save the values that are in the counter to when I change the fragment and go back to that, the values I've counted are the. I tried to use SavedInstance so it did not work, not saved, I would like some help with my code. public class...
asked by 14.05.2018 / 01:10