I hereby claim:
- I am ryansgot on github.
- I am ryansgot (https://keybase.io/ryansgot) on keybase.
- I have a public key ASAAzPNnn8DC6ZF7hUO_-gh2cy1t2s9r6Ds-IBgFeDEzNwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| public class DrawableMatcher extends TypeSafeMatcher<View> { | |
| public interface Extractor { | |
| @NonNull Drawable extract(@NonNull View v); | |
| } | |
| private String mReason; | |
| @DrawableRes private final int mDrawableId; | |
| private ColorFilter mExpectedColorFilter; | |
| private Extractor mExtractor; |
| apply plugin: 'com.android.application' | |
| apply plugin: 'com.fsryan.gradle.forsuredb' | |
| apply plugin: 'kotlin-android' // <-- must appear after applying forsuredb | |
| apply plugin: 'kotlin-android-extensions' | |
| apply plugin: 'kotlin-kapt' | |
| dependencies { | |
| kapt 'com.fsryan.forsuredb:forsuredbcompiler:0.13.0' | |
| implementation 'com.fsryan.forsuredb:forsuredbapi:0.13.0' | |
| implementation 'com.fsryan.forsuredb:sqlitelib:0.13.0' |
| apply plugin: 'com.android.application' | |
| apply plugin: 'com.fsryan.gradle.forsuredb' | |
| dependencies { | |
| annotationProcessor 'com.fsryan.forsuredb:forsuredbcompiler:0.13.0' | |
| implementation 'com.fsryan.forsuredb:forsuredbapi:0.13.0' | |
| implementation 'com.fsryan.forsuredb:sqlitelib:0.13.0' | |
| implementation 'com.fsryan.forsuredb:forsuredbandroid-directdb:0.13.0' | |
| // forsuredbmodels-jackson and forsuredbmodels-moshi are also options | |
| implementation 'com.fsryan.forsuredb:forsuredbmodels-gson:0.13.0' |
| apply plugin: 'com.android.application' | |
| apply plugin: 'com.fsryan.gradle.forsuredb' | |
| dependencies { | |
| annotationProcessor 'com.fsryan.forsuredb:forsuredbcompiler:0.13.0' | |
| implementation 'com.fsryan.forsuredb:forsuredbapi:0.13.0' | |
| implementation 'com.fsryan.forsuredb:sqlitelib:0.13.0' | |
| implementation 'com.fsryan.forsuredb:forsuredbandroid-contentprovider:0.13.0' | |
| // forsuredbmodels-jackson and forsuredbmodels-moshi are also options | |
| implementation 'com.fsryan.forsuredb:forsuredbmodels-gson:0.13.0' |
| apply plugin: 'com.android.application' | |
| apply plugin: 'com.fsryan.gradle.forsuredb' | |
| apply plugin: 'kotlin-android' // <-- must appear after applying forsuredb | |
| apply plugin: 'kotlin-android-extensions' | |
| apply plugin: 'kotlin-kapt' | |
| dependencies { | |
| kapt 'com.fsryan.forsuredb:forsuredbcompiler:0.13.0' | |
| implementation 'com.fsryan.forsuredb:forsuredbapi:0.13.0' | |
| implementation 'com.fsryan.forsuredb:sqlitelib:0.13.0' |
| import android.app.Application; | |
| import com.fsryan.forsuredb.FSDBHelper; | |
| import com.fsryan.forsuredb.ForSureAndroidInfoFactory; | |
| import com.fsryan.forsuredb.gsonserialization.FSDbInfoGsonSerializer; | |
| import com.fsryan.forsuredb.api.FSTableCreator; | |
| public class App extends Application { | |
| @Override | |
| public void onCreate() { |
| import android.app.Application | |
| import com.fsryan.forsuredb.FSDBHelper | |
| import com.fsryan.forsuredb.ForSureAndroidInfoFactory | |
| import com.fsryan.forsuredb.gsonserialization.FSDbInfoGsonSerializer | |
| import com.fsryan.forsuredb.api.FSTableCreator | |
| class App : Application() { | |
| override fun onCreate() { |
| import android.app.Application; | |
| import com.fsryan.forsuredb.FSDBHelper; | |
| import com.fsryan.forsuredb.ForSureAndroidInfoFactory; | |
| import com.fsryan.forsuredb.gsonserialization.FSDbInfoGsonSerializer; | |
| import com.fsryan.forsuredb.api.FSTableCreator; | |
| public class App extends Application { | |
| @Override | |
| public void onCreate() { |
| <?xml version="1.0" encoding="utf-8"?> | |
| <manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
| package="com.fsryan.example.forsuredb"> | |
| <!-- Must decalre an application class --> | |
| <application | |
| android:name=".App" | |
| android:allowBackup="true" | |
| android:icon="@mipmap/ic_launcher" | |
| android:label="@string/app_name" |