Drag and drop works, but the code needs to be adapted a bit to work with my project.
Changed ArrayList<String> to List<E>. The adapter will be used Speech, NoteCard, Note, and SpeechRecording Lists.
Added add and remove methods.
Added notice that the original file was modified.
Allowed a regular click to call super method, so user can still access the content menu.
Added the order field to database.
Updated the model with order field.
Changed the order by selector to Order for all datasources.
Added methods to change the order of speeches and notes in the database.
Refactor - drop listener implementation.
Fixed an error.
Removed sample activity, that I did not need to extend.
Refactor - implementations of the listeners.
Fixed an accidental commit.
Unused imports.
Changed column name(accidentally used a reserved word).
Fixed a bug, have to give new items a default order.
Changed min SDK version.
Minor changes.
Refactor - created a get all task that replaced all the individual get all tasks.