-
Notifications
You must be signed in to change notification settings - Fork 182
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
19cf166
commit 7ea848d
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
app/src/main/java/im/tox/antox/callbacks/AntoxOnTypingChangeCallback.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package im.tox.antox.callbacks; | ||
|
||
import android.content.Context; | ||
import android.util.Log; | ||
|
||
import im.tox.antox.utils.AntoxFriend; | ||
import im.tox.jtoxcore.callbacks.OnTypingChangeCallback; | ||
|
||
/** | ||
* Created by soft on 27/03/14. | ||
*/ | ||
public class AntoxOnTypingChangeCallback implements OnTypingChangeCallback<AntoxFriend> { | ||
|
||
private static final String TAG = "OnTypingChangeCallback"; | ||
private Context ctx; | ||
|
||
public AntoxOnTypingChangeCallback(Context ctx) { this.ctx = ctx; }; | ||
|
||
public void execute(AntoxFriend friend, boolean typing) { | ||
Log.d(TAG, "Typing Callback received from: " + friend.getName() + " value: " + typing); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters