Communicating From Services

Sometimes we need to get updates or data from our service to our activity/fragment in real time and then update the UI accordingly or perform some operation on the data received.We can accomplish this using below approaches- Pending Intent Communication between service and Activity can be done using PendingIntent.For that we can use createPendingResult() which … Continue reading Communicating From Services