Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- chatTextView.setOnItemClickListener(new AdapterView.OnItemClickListener() {
- @Override
- public void onItemClick(AdapterView<?> arg0, View arg1, int position, long arg3) {
- Intent intent = new Intent(ChatWindow.this, MessageDetails.class);
- Bundle b = new Bundle();
- b.putLong("ID", arg3);
- b.putString("MESSAGE", textStorage.get(position));
- intent.putExtras(b);
- startActivityForResult(intent, OPEN_FRAGMENT);
- finish();
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement