Monitoring Multiple Beacon Region

"Hi,

I need to monitor multiple beacon regions. So i have added the below code in the SDK (NotifyDemoActivity)

Region region = new Region(“regionId1”, “UUID1”, “major1”, “minor1”);
beaconManager.startMonitoring(region)

region = new Region(“regionId2”, “UUID2”, “major2”, “minor2”);
beaconManager.startMonitoring(region)
but only the regionid2 is getting monitored. Is anything else to be
provided

Thanks…"
By Vanchi Nathan on December 18, 2014 10:53 (https://community.estimote.com/hc/communities/public/questions/203914276-Monitoring-Multiple-Beacon-Region)

I have the same problem. Can anyone help me?

Monitoring multiple beacon regions should work just fine. Keep in mind that the enter/exit notifications for both regions will be delivered to the very same MonitoringListener, and you’ll need to use the region parameter to differentiate between the two.

If you monitor just one or the other, does it work okay?