I have the following Activity:

```
package com.example.dragtest;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.widget.Button;

public class MainActivity extends AppCompatActivity {

    private Button selectedButton=null;
    private Button circle=null;
    private Button rectangle=null;
    private Button triangle=null;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        rectangle=(Βutton)findViewById(R.id.rectangle);
        rectangle.setOnTouchListener(new MyTouchListener());
        rectangle.setOnDragListener(new MyDragListener());

        circle=(Βutton)findViewById(R.id.circle);
        circle.setOnTouchListener(new MyTouchListener());
        circle.setOnDragListener(new MyDragListener());

        triangle=(Button)findViewById(R.id.triangle)
        triangle.setOnTouchListener(new com.example.dragtest.MainActivity.MyTouchListener());
        triangle.setOnDragListener(new com.example.dragtest.MainActivity.MyDragListener());

    }

    private final class MyTouchListener implements OnTouchListener {
        public boolean onTouch(View view, MotionEvent motionEvent) {
            if (motionEvent.getAction() == MotionEvent.ACTION_DOWN) {
                selectedButton
            }
        }
    }

    class MyDragListener implements OnDragListener {
        public boolean onDrag(View v, DragEvent event) {
            int action = event.getAction();
            switch (event.getAction()) {
                case DragEvent.ACTION_DRAG_STARTED:
                    // do nothing
                    break;
                case DragEvent.ACTION_DRAG_ENTERED:
                    v.setBackgroundDrawable(enterShape);
                    break;
                case DragEvent.ACTION_DRAG_EXITED:
                    v.setBackgroundDrawable(normalShape);
                    break;
                case DragEvent.ACTION_DROP:
                    // Dropped, reassign View to ViewGroup

                    break;
                case DragEvent.ACTION_DRAG_ENDED:

                default:
                    break;
            }
            return true;

        }
    }

}

```

And I want to detect onMytouch Listened the Item that has been touched in order to retrieve its id. Do you know how I can do that?