title: Android BroadcastReceiver Triggering Multiple Times
body: <p>In My application, I have used a broadcast receiver for triggering some functionalities. But sometimes it's triggering 2 times.</p>
  <pre><code>    context.sendBroadcast(new Intent(&quot;DATA_LOST&quot;));
  </code></pre>
  <p>This is called from a function inside Activity A. But while debugging I understood like that function not called 2 times. The receiver declared in Another Activity is triggered multiple times. This also not happening every time. Please see the below code.</p>
  <pre><code>  registerReceiver(broadcastReceiver, new IntentFilter(&quot;DATA_LOST&quot;));
  
  BroadcastReceiver broadcastReceiver = new BroadcastReceiver() {
      @Override
      public void onReceive(Context context, Intent intent)   //entered multiple times
      {
       feedbackcheck();
      }
  };
  </code></pre>
  <p>Please help me with this.</p>