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
public class LgaHandler { | |
private static final String TAG = "Lgahandler"; | |
private static Context mContext; | |
private static Realm realm; | |
private static ClientBus clientBus; | |
private static int page = 1; | |
private static int perPage = 21; |
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
function MessageQueue(){ | |
this.pusher = new Pusher('key'); | |
this.items = []; | |
this.timeWindow = 100; // 100 ms | |
} | |
// send messages every 100ms | |
MessageQueue.prototype.cycle = function(){ | |
var self = this; |
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
<!DOCTYPE <!DOCTYPE html> | |
<html> | |
<head> | |
<title>Call Friends</title> | |
<link rel="stylesheet" type="text/css" href="holder.css"> | |
</head> | |
<body> | |
<div class="main"> | |
<input class="name" placeholder="Full Name"></input> | |
<input class="name" placeholder="Display Name"></input> |
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
import android.content.Context; | |
import android.content.res.ColorStateList; | |
import android.content.res.TypedArray; | |
import android.graphics.Typeface; | |
import android.text.Editable; | |
import android.text.TextWatcher; | |
import android.text.method.KeyListener; | |
import android.util.AttributeSet; | |
import android.view.Gravity; | |
import android.view.LayoutInflater; |
NewerOlder