Skip to content

Instantly share code, notes, and snippets.

@khaledkhj
khaledkhj / MyActivity.java
Created August 4, 2018 17:15 — forked from VladSumtsov/MyActivity.java
RecycleView PullToRefresh SwipeRefreshLayout
import android.graphics.Color;
import android.os.Bundle;
import android.support.v4.widget.SwipeRefreshLayout;
import android.support.v7.widget.DefaultItemAnimator;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import com.togethernetworks.basesdk.BaseActivity;
import com.togethernetworks.gallery.samples.mortar.UiModule;
@khaledkhj
khaledkhj / Elements.java
Created November 23, 2017 05:55 — forked from vipulasri/Elements.java
RecyclerView-Grid-with-Load-More
/**
* Created by Vipul on 18/11/16.
*/
public class Elements {
private int icon;
private String name;
public int getIcon() {