I have two activities "A" and "B". In "A" I have a RecyclerView and an "add" btn.
After I press "add" new "activity B" via "startActivityForResult" opens. I fill fields in "B" -> press save btn -> starts new "AsyncTask" in which I add new element to my database.
And the question is how to update RecyclerView data in "A activity" the right way?
I'm not providing code because I would like to hear the answer in general how to build my app architecture.