Best implements Async in android studio

Is this the way to implement it?

Hey amin

I’m sorry, but I can not fully understand your question, could you provide more details

Regards, Vlad

I mean The best way to implement Async in project … I define Async in AppCompatActivity
because sometimes app become crashed.

You can implement Async callback anywhere where you want in your project