Back to project page AndroidTouchEditableListView.
The source code is released under:
Copyright (c) 2014 Serge Desmedt Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Soft...
If you think the Android project AndroidTouchEditableListView listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package be.trojkasoftware.android.sample; /* w w w. j a va 2 s. c o m*/ import java.util.List; import android.content.Context; import be.trojkasoftware.android.toucheditablelistview.EditableArrayAdapter; public class CustomEditableArrayAdapter extends EditableArrayAdapter<String> { public CustomEditableArrayAdapter(Context context, int resource, int textViewResourceId, List<String> objects) { super(context, resource, textViewResourceId, objects); } public String getNewObject(int afterPosition, int beforePosition) { return "Insert[" + (afterPosition + 1) + "][" + (beforePosition + 1) + "]"; } }