안드로이드 개발 질문/답변
(글 수 45,052)
cursor = DBAdapter.getAllPeople2();
@SuppressWarnings("deprecation")
SimpleCursorAdapter cursorAdapter =
new SimpleCursorAdapter(this, android.R.layout.simple_list_item_2, cursor,
new String[] {"POSX","POSY"}, new int[] {R.id.text0 , R.id.text1} );
setListAdapter(cursorAdapter);
저렇게 SimpleCursorAdapter에 취소선이 섞여서 나오네여 저거 이유가 뭐죠??




ics에서 deprecation 되었습니다.
사용해도 상관은 없지만.. 작동하지 않을 수도 있습니다.
어답터 사용에 관한 프래그가 포함된 생성자로 사용해보세요..