Skip to content

Instantly share code, notes, and snippets.

View Sp4Rx's full-sized avatar
👾
GG!!

Suvajit Sarkar Sp4Rx

👾
GG!!
View GitHub Profile
@Sp4Rx
Sp4Rx / TilingDrawable.java
Created June 22, 2017 08:47 — forked from mswolters/TilingDrawable.java
TilingDrawable
public class TilingDrawable extends android.support.v7.graphics.drawable.DrawableWrapper {
private boolean callbackEnabled = true;
public TilingDrawable(Drawable drawable) {
super(drawable);
}
@Override
public void draw(Canvas canvas) {
@Sp4Rx
Sp4Rx / BackgroundService.java
Last active October 20, 2016 11:16
ServiceDemo 0.3
package com.example.suvajit.servicedemo;
import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import android.support.annotation.Nullable;
import android.widget.Toast;
public class BackgroundService extends Service {
@Nullable
@Sp4Rx
Sp4Rx / BackgroundService.java
Created September 25, 2016 09:37
ServiceDemo 0.2
package com.example.suvajit.servicedemo;
import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import android.support.annotation.Nullable;
import android.widget.Toast;
public class BackgroundService extends Service {
@Nullable
@Sp4Rx
Sp4Rx / BackgroundService.java
Created September 25, 2016 09:22
ServiceDemo 0.1
package com.example.suvajit.servicedemopersistant;
import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import android.support.annotation.Nullable;
import android.widget.Toast;
public class BackgroundService extends Service {
@Nullable