Assume i has activity A and B and external class C. class C contains code to create dialog but requires contex. class B is like this one
activity A is in focus(active). Activity A call C to create dialog. In first case, A send's it's ActivityContext to C. In second case, C get application activity from B.
Are those two cases leads to same result? E.G dialog will pop up on a screen (on a screen of activity A)