Skip to content

Instantly share code, notes, and snippets.

@biodunalfet
Created December 7, 2016 04:11
Show Gist options
  • Save biodunalfet/fbfb525b0de29ab02967c7309d97baeb to your computer and use it in GitHub Desktop.
Save biodunalfet/fbfb525b0de29ab02967c7309d97baeb to your computer and use it in GitHub Desktop.
Lines 2, 34 and 35 I added the Parceler library to the project This https://guides.codepath.com/android/Using-Parceler should be helpful in explaining what Parcelables are and why I used the Parceler library.
apply plugin: 'com.android.application'
apply plugin: 'com.neenbedankt.android-apt'
android {
compileSdkVersion 25
buildToolsVersion "23.0.3"
defaultConfig {
applicationId "com.example.sep.loveartlearnart"
minSdkVersion 15
targetSdkVersion 25
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support:appcompat-v7:24.2.1'
testCompile 'junit:junit:4.12'
compile 'com.android.support:recyclerview-v7:24.2.1'
compile 'com.android.support:cardview-v7:24.2.1'
compile 'org.parceler:parceler-api:1.1.1'
apt 'org.parceler:parceler:1.1.1'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment