user1239556
user1239556

Reputation:

Drag and drop functionality of android

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

Answers (2)

sush
sush

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

Vyacheslav Shylkin
Vyacheslav Shylkin

Reputation: 9791

OnDragListener since API level 11. Check your API level.

Upvotes: 1

Related Questions