title: need to reload mainActivity controller on click of button located in customized listview
body: <p>To make my question more understandable let me start with an image of my view.</p>
  
  <p><img src="https://i.stack.imgur.com/MuSdf.png" alt="enter image description here"></p>
  
  <p>I have an xml file named Menu, that has customized list view in it. I have created another xmlview named MenuCell as below.<br>
  <img src="https://i.stack.imgur.com/x8a5L.png" alt="enter image description here"></p>
  
  <p>Now tapping on add button I'm adding Item to the cart. which is working perfectly fine except not updating value of a cart (top right corner) on click event. But If I navigate to different view and come back to this view at this point I'm getting number of items added in the cart reflected properly. So How Can I reload my controllerview when I tap in my arradepter view's ImageButton. </p>
  
  <p>this is my adapter code</p>
  
  <pre><code>holder.imageButton1.setOnClickListener(new OnClickListener() {
  
              public void onClick(View v) {
  
                  addItem(position);
                  notifyDataSetChanged();
              }
          });
  
  void addItem(int position) {
  
          count++;
          }
  </code></pre>
  
  <p>Where count is item added count. </p>
  
  <p>If anyone can tell How am I able to reflect this count of my arrayadpter class to my other controller class that holds actual list view.</p>
  
  <p>Any Help will be appreciated  </p>
  
  <p>Thanks in advance.</p>