Skip to content

Instantly share code, notes, and snippets.

Changhoon, Jin susemi99

Block or report user

Report or block susemi99

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
lnicolet / EndlessRecyclerViewScrollListener.kt
Created Oct 17, 2018
EndlessRecyclerViewScrollListener file for kotlin projects
View EndlessRecyclerViewScrollListener.kt
* Created by Luca Nicoletti
* © 17/10/2018
* Copied from:; added some little edits for Kotlin
abstract class EndlessRecyclerViewScrollListener(private var visibleThreshold: Int = 5): RecyclerView.OnScrollListener() {
private var currentPage = 0
private var previousTotalItemCount = 0
private var loading = true
jtallant /
Last active Jan 19, 2020
Setting up Sinatra with Active Record

Setting up Sinatra Project

create an empty project and add a Gemfile

cd ~/Desktop
mkdir project-name
cd project-name
touch Gemfile
ianbarber /
Created Mar 17, 2014
A quick example of retrieving an access token with GoogleAuthUtil
import android.content.Intent;
import android.os.AsyncTask;
import android.os.Bundle;
import android.util.Log;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
You can’t perform that action at this time.