Skip to content

Instantly share code, notes, and snippets.

Iftekhar Ahmed iftekhar-ahmed

Block or report user

Report or block iftekhar-ahmed

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@iftekhar-ahmed
iftekhar-ahmed / ControllableAppBarLayout.java
Last active Sep 9, 2016 — forked from skimarxall/ControllableAppBarLayout.java
A modified version of ControllableAppBarLayout that allows to add/remove multiple listeners for layout state change (collapsed, expanded or idle). The original ControllableAppBarLayout is here https://gist.github.com/blipinsk/3f8fb37209de6d3eea99
View ControllableAppBarLayout.java
/**
* Copyright 2015 Bartosz Lipinski
* <p/>
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* <p/>
* http://www.apache.org/licenses/LICENSE-2.0
* <p/>
* Unless required by applicable law or agreed to in writing, software
@iftekhar-ahmed
iftekhar-ahmed / gist:dc9c9c50e8101f679920
Created Feb 19, 2015
Fix UTF-8 header issue with json response
View gist:dc9c9c50e8101f679920
public class SyncService extends Service {
private DbManager dbManager;
@Override
public IBinder onBind(Intent intent) {
throw new UnsupportedOperationException("Not yet implemented");
}
@Override
public int onStartCommand(Intent intent, int flags, int startId) {
HttpHelper httpHelper = HttpHelper.getInstance(this);
DbManager.init(this);
You can’t perform that action at this time.