このanswerに記載されている手順に従って、listview [listview image] [1]のツールバーを設定しました。AppCompatActivityのonlistitemclick
今、リストアイテムはクリックできません。 ListActivityリスト項目をクリックすると、項目をクリックすると項目タイトルとその内容の別のアクティビティが開きます。
@Override
protected void onListItemClick(ListView l, View v, int position, long id) {
Note note = posts.get(position);
Intent intent = new Intent(this, EditNoteActivity.class);
intent.putExtra("noteId", note.getId());
intent.putExtra("noteTitle", note.getTitle());
intent.putExtra("noteContent", note.getContent());
startActivity(intent);
}
http://i.stack.imgur.com/titkg.png – Rashid
私の答えを見てください!それは働いていない – varunkr