System directories
| Method | Result | 
|---|---|
| Environment.getDataDirectory() | /data | 
| Environment.getDownloadCacheDirectory() | /cache | 
| Environment.getRootDirectory() | /system | 
External storage directories
System directories
| Method | Result | 
|---|---|
| Environment.getDataDirectory() | /data | 
| Environment.getDownloadCacheDirectory() | /cache | 
| Environment.getRootDirectory() | /system | 
External storage directories
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
Example:
| Unless specified otherwise, all of the below tinting applies to both Lollipop and pre-Lollipop using AppCompat v21. | |
| To use the support version of these attributes, remove the android namespace. | |
| For instance, "android:colorControlNormal" becomes "colorControlNormal". | |
| These attributes will be propagated to their corresponding attributes within the android namespace | |
| for devices running Lollipop. Any exceptions to this will be noted by including the "android:" prefix. | |
| All Clickable Views: | |
| ----------- | 
| version: 2.0 | |
| defaults: &defaults | |
| docker: | |
| - image: menny/android_ndk:latest | |
| working_directory: ~/pigment | |
| environment: | |
| _JAVA_OPTIONS: "-Xmx1400m -XX:ParallelGCThreads=2 -XX:ConcGCThreads=2 -XX:ParallelGCThreads=2 -Djava.util.concurrent.ForkJoinPool.common.parallelism=2" | |
| TERM: dumb | 
| /** | |
| * Place this Snippet in Activity File | |
| * Secure `YOUR_GOOGLE_PLACE_API_KEY` Key in Build Config, if you need | |
| */ | |
| /** | |
| * `etGoogleplaceApi` stands for AutocompleteEditText Widget | |
| * Add Your Billings Details in Google Console, OR else it throws `QUERY_LIMIT_EXCEEDED` exception |