How to update Fragment UI from other helper class?
<p>Fragment A(FragmentA.java) contains a textview and button.<br>
When users click button, it will popup a dialog with a "OK" button.<br>
If user clicks "OK", it will update the textview to "OK".<br>
However, I write a dialog helper class(DialogA.java) for the dialog.<br>
How can I directly update the fragment's textview when user click the "OK" dialog in the (DialogA.java)?<br>
Since they are in different class, I don't know how to do it.<br>
Please help.</p>
