simplecursoradapter

    1

    2답변

    SimpleCursorAdapter에 하나의 성가신 문제가 있습니다. 내 programm 목록보기 및 ListActivity 있습니다. <TableLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_height="wrap_content" android:layout

    1

    2답변

    사용자 지정 SimpleCursorAdapter를 사용하고 있습니다. 현재 데이터베이스/커서에서 항목을 찾을 수없는 경우 내 목록은 비어 있습니다. 이제 커서/데이터베이스 내에 항목이 없으면 목록에 메시지를 표시하려고합니다. 이 사건을 어떻게 처리 할 수 ​​있습니까?

    0

    1답변

    나는 카테고리를 표시하는 회 전자 위젯이있는 활동이 있습니다. 처음에 나는 다음과 같은 코드 private static final String[] arrayCategories = { "Business", "Personal" }; mCatSpinner = (Spinner) findViewById(R.id.thecategory); Ar