I am new to java and android. I am following and making an application from here to drag and drop.
The following error files cannot be resolved.
import android.view.View.DragShadowBuilder; import android.view.View.OnDragListener; import android.view.DragEvent; import android.content.ClipData;
I know this means that the above classes are not in the main library. how should I add them or is there an alternative way to do drag and drop (please explain with examples).
source share