Skip to content

Instantly share code, notes, and snippets.

View rajeshdeva23's full-sized avatar

rajesh deva rajeshdeva23

  • chennai
View GitHub Profile
@rajeshdeva23
rajeshdeva23 / SpanningLinearLayoutManager.java
Created August 20, 2019 07:16 — forked from heinrichreimer/LICENSE
LinearLayoutManager implementation that stretches to fit all list items on screen and disables scrolling. Useful for dashboards etc.
package de.wilhelmgym.quiz.recyclerview;
import android.content.Context;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.util.AttributeSet;
import android.view.ViewGroup;
public class SpanningLinearLayoutManager extends LinearLayoutManager {
@rajeshdeva23
rajeshdeva23 / include_list_viewpager.xml
Created February 8, 2019 05:30 — forked from iPaulPro/include_list_viewpager.xml
CollapsingToolbarLayout with TabLayout
<?xml version="1.0" encoding="utf-8"?><!--
~ Copyright (C) 2015 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