Skip to content

Instantly share code, notes, and snippets.

View DeepakRattan's full-sized avatar
🎯
Focusing

Deepak Rattan DeepakRattan

🎯
Focusing
View GitHub Profile
@DeepakRattan
DeepakRattan / Bean.java
Created March 29, 2016 11:00
Filtering ListView using Filterable interface
package com.almabay.filterlistdemo;
/**
* Created by deepakr on 3/29/2016.
*/
public class Bean {
String name, age;
public Bean(String name, String age) {
this.name = name;
@DeepakRattan
DeepakRattan / gist:e8922f30d176687b6f57
Last active January 8, 2016 05:32
Good morming all... I have a query .Can anybody please tell me what is the significance of putting d code inside curly braces?
{
try {
mSocket = IO.socket(Constants.CHAT_SERVER_URL);
Log.e("Socket", String.valueOf(mSocket));
} catch (URISyntaxException e) {
throw new RuntimeException(e);
}
}