Skip to content

Instantly share code, notes, and snippets.

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

Sagar Atalatti sagaratalatti

🏠
Working from home
  • India
View GitHub Profile
@sagaratalatti
sagaratalatti / Readme.md
Created March 26, 2017 08:23 — forked from gabrielemariotti/Readme.md
A SimpleSectionedRecyclerViewAdapter: use this class to realize a simple sectioned `RecyclerView.Adapter`.

You can use this class to realize a simple sectioned RecyclerView.Adapter without changing your code.

The RecyclerView should use a LinearLayoutManager. You can use this code also with the TwoWayView with the ListLayoutManager (https://github.com/lucasr/twoway-view)

This is a porting of the class SimpleSectionedListAdapter provided by Google

Screen

Example:

@sagaratalatti
sagaratalatti / AndroidManifest.xml
Created January 26, 2017 16:54 — forked from daichan4649/AndroidManifest.xml
show Fragment on LockScreen (for Android)
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="daichan4649.lockoverlay"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="15"
android:targetSdkVersion="17" />