Android Local Broadcast Receiver

Simple Local broadcast receiver example

MainActivity

activity_main.xml

 

————————————————————————————————————————————————————–

Another exaple

Here registering the broadcast receiver with the action

activity_main2.xml

 

 

ref: https://developer.android.com/reference/android/support/v4/content/LocalBroadcastManager.html

3 Likes
Author: bm on July 13, 2016
Category: Android

Your comment:

Your Name

Comment:




Last articles