Giter Club home page Giter Club logo

fx-converter's Introduction

fx-converter

=======================

This project for currency conversion and checking exchange rates

How to use

  • Clone the Project:
git clone https://github.com/dannijax/fx-converter.git  
  • Import the project in Android Studio
  • Get API key from currencylayer
  • Add the gradle.properties file which includes my ACCESS Key or copy the contents in file to the new gradle.properties file
  • There are 2 build vaiants in the project.
    • Submission
    • Debug
  • switch to the submission variant
  • Sync the project, Build and run the application

Unit Tests

Unit tests can be found in the app/src/test directory

Work Remaining

  • Add UI integration tests
  • Add Test for viewmodel

Future features

  • Add settings screen for users to change sync interval time dynamically

Static Analyzers

By default, build script will perform static code analysys and aggregate results. Build task will fail if any analyzers report errors or warnings. However, you can always choose not to use one or all of them. To disable all analyzers, except Lint, remove following line from your build.gradle script:

apply from: rootProject.file('gradle/check.gradle')

Lint

http://tools.android.com/tips/lint

Lint configuration can be found in build.gradle file:

lintOptions {
    abortOnError true
    checkAllWarnings true
    warningsAsErrors true
    disable 'AllowBackup', 'ContentDescription', 'InvalidPackage', 'SelectableText', 'SpUsage'
}

You can always suppress Lint warnings using @SuppressLint() annotation. See http://tools.android.com/tips/lint/suppressing-lint-warnings for more details.

Results can be found in ./build/lint-results.html

CheckStyle

http://checkstyle.sourceforge.net

CheckStyle configuration files can be found in ./gradle/config/checkstyle folder.

You can disable check for some code fragment using following comments:

//CHECKSTYLE:OFF
String s= "Some"+
"poorly "     +     "formatted"+" code";
//CHECKSTYLE:ON

Results can be found in ./build/reports/checkstyle

fx-converter's People

Contributors

dannijax avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.