Skip to content

Instantly share code, notes, and snippets.

View skyfishjy's full-sized avatar
🏠
Working from home

Yao Yu skyfishjy

🏠
Working from home
View GitHub Profile
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
/**
* Created by skyfishjy on 5/5/15.
*/
public class IOUtils {
@skyfishjy
skyfishjy / EndlessRecyclerOnScrollListener.java
Last active November 8, 2019 06:27
EndlessRecyclerOnScrollListener
package com.skyfishjy.kkmh.ui.adapter;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
/**
* Created by skyfishjy on 12/30/14.
*/
public abstract class EndlessRecyclerOnScrollListener extends RecyclerView.OnScrollListener {
@skyfishjy
skyfishjy / CursorRecyclerViewAdapter.java
Last active December 16, 2023 08:55
CursorRecyclerViewAdapter
/*
* Copyright (C) 2014 skyfish.jy@gmail.com
*
* 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software