Remove DatabaseAdapter
Apparently I don't use this class, and probably never will.
This commit is contained in:
parent
93d1204154
commit
4fd468e11a
1 changed files with 0 additions and 28 deletions
|
@ -1,28 +0,0 @@
|
||||||
package info.nerull7.mysqlbrowser;
|
|
||||||
|
|
||||||
import android.content.Context;
|
|
||||||
import android.widget.ArrayAdapter;
|
|
||||||
|
|
||||||
import java.util.HashMap;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Created by nerull7 on 14.07.14.
|
|
||||||
*/
|
|
||||||
public class DatabaseAdapter extends ArrayAdapter<String>{
|
|
||||||
HashMap<String, Integer> map = new HashMap<String, Integer>();
|
|
||||||
|
|
||||||
public DatabaseAdapter(Context context, int resource, String[] objects) {
|
|
||||||
super(context, resource, objects);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public long getItemId(int position){
|
|
||||||
String item = getItem(position);
|
|
||||||
return map.get(item);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean hasStableIds(){
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Add table
Add a link
Reference in a new issue