0

I need to REFRESH Fragment Activity on button click,i am trying to implement multiple theme.

Suggestions appreciated. Thanks

2 Answers 2

2

What about simply recreate the entire Activity? Try the following in onButtonClick:

finish(); startActivity(getIntent()); 
Sign up to request clarification or add additional context in comments.

Comments

0

just define a method in the fragment interface and call it to replace the current fragment with new instance of same fragment.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.