mirror of
https://github.com/moparisthebest/Yaaic
synced 2024-08-13 16:53:50 -04:00
MessageClickListener Stub
This commit is contained in:
parent
9de6e775ed
commit
a73ab89618
39
src/org/yaaic/listener/MessageClickListener.java
Normal file
39
src/org/yaaic/listener/MessageClickListener.java
Normal file
@ -0,0 +1,39 @@
|
||||
/*
|
||||
Yaaic - Yet Another Android IRC Client
|
||||
|
||||
Copyright 2009-2010 Sebastian Kaspari
|
||||
|
||||
This file is part of Yaaic.
|
||||
|
||||
Yaaic is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
Yaaic is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with Yaaic. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package org.yaaic.listener;
|
||||
|
||||
import android.view.View;
|
||||
import android.widget.AdapterView;
|
||||
import android.widget.Toast;
|
||||
import android.widget.AdapterView.OnItemClickListener;
|
||||
|
||||
/**
|
||||
* Listener for clicks on conversation messages
|
||||
*
|
||||
* @author Sebastian Kaspari <sebastian@yaaic.org>
|
||||
*/
|
||||
public class MessageClickListener implements OnItemClickListener
|
||||
{
|
||||
public void onItemClick(AdapterView<?> group, View view, int position, long id)
|
||||
{
|
||||
Toast.makeText(group.getContext(), "Message selected", Toast.LENGTH_SHORT).show();
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user