Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Oladipupo Gbenga devmike01

🎯
Focusing
Block or report user

Report or block devmike01

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
@devmike01
devmike01 / TimeOutService.java
Created Oct 16, 2019
A service that handles app timeout
View TimeOutService.java
package devmike.leviapps.co.tensorlitepose.device;
import android.app.IntentService;
import android.content.Context;
import android.content.Intent;
import android.os.CountDownTimer;
import android.os.Handler;
import android.os.HandlerThread;
import android.os.Message;
import android.os.SystemClock;
@devmike01
devmike01 / PartClickTextView.java
Created May 23, 2018
This code snippet makes part of a string clickable.
View PartClickTextView.java
public class PartClickTextView extends TextView{
public static final String TAG = PartClickTextView.class.getSimpleName();
private OnPartTextClickListener mListener;
public interface OnPartTextClickListener{
void onPartTextClick(View view);
}
public void setOnPartTextClickListener(OnPartTextClickListener mCallback){
View gist:5a4f80c09e13e9e782bec723740265cd
// ConsoleApplication1.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <iostream>
#include <string>
using namespace std;
int _tmain()
You can’t perform that action at this time.