I am learning to make apps using Android Studio (2.3.1).
First, user A on his phone pushes one of 4 colored buttons. This sends the result to user B on his phone with the exact same app, and displays the result to B (It can be a change in background color of the bottom button). The result should be a automatic push at the receiving end (without user B needing to refresh).
However, I'm not quite sure where to go after making the layout designs. I've read about content providers and such, but I have no idea where to start.... any help would be appreciated.
[Screen Shot][1]
****EDIT** I have taken advice from Shreyansh and Akshay More, but I would like a confirmation on the steps to solve this problem (want confirmation if my thought processes are right or not):
Use Firebase for push service if you want it to operate remotely.