Reputation:
Am working on implementing the Drag and Drop functionality in android Here is my code.
public class DragnDropActivity extends Activity implements OnTouchListener,OnDragListener
{
}
am unable to reach onDraw call back function
Upvotes: 2
Views: 1410
Reputation: 476
OnDragListener can be implemented using android 3 i.e API Level 11 and higher versions. If u have api level 11 sdks installed then change android build path to android 3 API 11 version.
Upvotes: 1
Reputation: 9791
OnDragListener since API level 11. Check your API level.
Upvotes: 1