Skip to content

Instantly share code, notes, and snippets.

Avatar
😊

Rasoul Miri rasoulmiri

😊
View GitHub Profile
@Plumillon
Plumillon / PFRecyclerViewAdapter.java
Last active Apr 1, 2022
Simpler generic RecyclerView.Adapter and RecyclerView.ViewHolder with click listener
View PFRecyclerViewAdapter.java
import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.view.ViewGroup;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
View FixAppBarLayoutBehavior.java
/*
* Copyright (C) 2017 The Android Open Source Project
*
* 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