title: How to get the Unique id of the specific view
body: <pre><code>//inflating row  
  customView1=inflater.inflate(R.layout.single_row_materialdimension, null);
  
  container = (ViewGroup) findViewById(R.id.container);
  container.addView(customView1, 0, new ViewGroup.LayoutParams(ViewGroup.LayoutParams.FILL_PARENT, ViewGroup.LayoutParams.FILL_PARENT));
  
  //Getting child Count from parent inflated the child  
  int child = container.getChildCount();
  container.setTag(child + 1);
  
  for (int i = 0; i &lt; child; i++) {
      Log.e("ChildAt", "" + container.getChildAt(i));
      View childView = container.getChildAt(i);
      Log.e("childView ", "childView" + childView);
      TextView tv1=(TextView)childView.findViewById(R.id.txt_parent_plus_id);
  
      // setting onClickListner to inflated child
      //i want to get unique id when i click on the inflated child**
      tv1.setOnClickListener(handleOnClick(tv1));
  }
  
  //i want to get unique id when i click on the inflated child**
  
  View.OnClickListener handleOnClick(final View view) {
      return new View.OnClickListener() {
          @Override
          public void onClick(View v) {
              // TODO Auto-generated method stub
              Log.e("Clicked", "Clicked" + container.getTag());
          }
      };
  }
  </code></pre>