This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"expo": { | |
"name": "appname", | |
"slug": "appslug", | |
"privacy": "unlisted", | |
"sdkVersion": "32.0.0", | |
"platforms": [ "ios", "android" ], | |
"version": "2.0.36", | |
"orientation": "portrait", | |
"icon": "./assets/icon.png", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import android.annotation.SuppressLint | |
import android.content.ContentUris | |
import android.content.Context | |
import android.content.CursorLoader | |
import android.database.Cursor | |
import android.net.Uri | |
import android.os.Build | |
import android.os.Environment | |
import android.provider.DocumentsContract | |
import android.provider.MediaStore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* SimpleRVAdapter to quickly get started with simple Lists in Recyclerview | |
* | |
* Usage: | |
* | |
* RecyclerView rv = (RecyclerView)findViewById(R.id.rv); | |
* rv.setLayoutManager(new LinearLayoutManager(getContext())); | |
* rv.setAdapter(new SimpleRVAdapter(new String[] {"1", "2", "3", "4", "5", "6", "7"})); | |
* | |
* @author Sheharyar Naseer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* parse path to get from clean URL | |
* @return [array] [array of requested uri] | |
*/ | |
function parse_path() { | |
$path = array(); | |
if (isset($_SERVER['REQUEST_URI'])) { | |
$request_path = explode('?', $_SERVER['REQUEST_URI']); |