Clean News

Android clean design
Demo   Download APK   Buy Now

Documentation

Material that provides official information about the product
We created the Android Structure to make application clean and easy to develop, here is the structure:
  • Dataaccess/ Connection to the server.
  • Features/ All activity and core function.
  • Helpers/ Function helpers.
  • Libraries/ All libraries.
  • Model/ Data model.
Android configuration at build.gradle
android {
    compileSdkVersion 28
    defaultConfig {
        applicationId "cipta.web.id.news"
        minSdkVersion 21
        targetSdkVersion 28
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
    productFlavors {
    }
}
                     

Dependencies at build.gradle
dependencies {
    implementation fileTree(include: ['*.jar'], dir: 'libs')
    implementation 'com.android.support:appcompat-v7:28.0.0'
    implementation 'com.android.support:recyclerview-v7:28.0.0'
    implementation 'com.android.support.constraint:constraint-layout:1.1.0'
    implementation 'com.android.support:design:28.0.0'
    implementation 'com.android.support:cardview-v7:28.0.0'
    implementation 'com.makeramen:roundedimageview:2.3.0'
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'com.android.support.test:runner:1.0.1'
    androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
}