0

I try to refresh a Fragment with Sharedpreferences since 2 days, but only Errors:

Android Studio call fragment method from other fragment or activity

Now, every time when the user change the the tab of the tablayout, he has to click on a Button to refresh manually. But no one want this!

I hope anybody can remove the "updatebutton" 3 and 4 in the tab and make the refresh automaticly.

Update: Solved

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
Daniel Maile
  • 13
  • 1
  • 5

1 Answers1

0

Finally I used this: How to call a method after a delay in Android

Now the App works fine. Thanks to everyone!

Daniel Maile
  • 13
  • 1
  • 5