How to recreate the Fragment from refresh button of ActionBar?

10,422

Just recreate the fragment by replacing the existing one, check this link out.

Fragment Transaction

FragmentActionBar

Or am I missing something in your question? Cheers.

Share:
10,422
Piscean
Author by

Piscean

I am 28, living in Malmö, Sweden.

Updated on June 04, 2022

Comments

  • Piscean
    Piscean almost 2 years

    I made tabs in my android app using FragmentActivity and Fragments. I have an ActionBar for all Fragments which has a refresh button. I want to refresh the specific fragment from where i press the refresh button of ActionBar. Any idea about that? Thanks in advance.