https://github.com/binghuan/mycurrencyconverter
Coding quest from Pay Pay
https://github.com/binghuan/mycurrencyconverter
android app assignment kotlin paypay
Last synced: 2 months ago
JSON representation
Coding quest from Pay Pay
- Host: GitHub
- URL: https://github.com/binghuan/mycurrencyconverter
- Owner: binghuan
- Created: 2023-01-19T20:27:29.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-19T20:26:39.000Z (3 months ago)
- Last Synced: 2025-02-19T21:25:21.406Z (3 months ago)
- Topics: android, app, assignment, kotlin, paypay
- Language: Kotlin
- Homepage:
- Size: 4.94 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.html
Awesome Lists containing this project
README
MyCurrencyConverter
/* From extension vscode.github */
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/.vscode-dark img[src$=\#gh-light-mode-only],
.vscode-light img[src$=\#gh-dark-mode-only] {
display: none;
}/* From extension ms-toolsai.jupyter */
/* These classnames are inherited from bootstrap, but are present in most notebook renderers */.alert {
width: auto;
padding: 1em;
margin-top: 1em;
margin-bottom: 1em;
}
.alert > *:last-child {
margin-bottom: 0;
}
#preview > .alert:last-child {
/* Prevent this being set to zero by the default notebook stylesheet */
padding-bottom: 1em;
}.alert-success {
/* Note there is no suitable color available, so we just copy "info" */
background-color: var(--theme-info-background);
color: var(--theme-info-foreground);
}
.alert-info {
background-color: var(--theme-info-background);
color: var(--theme-info-foreground);
}
.alert-warning {
background-color: var(--theme-warning-background);
color: var(--theme-warning-foreground);
}
.alert-danger {
background-color: var(--theme-error-background);
color: var(--theme-error-foreground);
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe WPC', 'Segoe UI', system-ui, 'Ubuntu', 'Droid Sans', sans-serif;
font-size: 14px;
line-height: 1.6;
}
.task-list-item {
list-style-type: none;
}.task-list-item-checkbox {
margin-left: -20px;
vertical-align: middle;
pointer-events: none;
}
MyCurrencyConverter
=================================
A currency conversion app that allow a user to view a given amount in a given currency converted into other currencies.
(It's a coding challenge from PayPal)
Here is the requirements for the home assignment.Table of Contents
-
MyCurrencyConverter- Table of Contents
- Features
- File Structure
- APIs
- Conversion Method
- Control Flow
- Test Cases
- Illustration
- DEMO
Features
- The user is be able to select a currency from a list of currencies
- The user is be able to enter the desired amount for the selected currency
- A list showing the desired amount in the selected currency converted into amounts in each currency
File Structure
APIs
Conversion Method
Control Flow
Test Cases
- ExampleInstrumentedTest.kt
- OpenExchangeRateServiceTest.kt
- ExchangeRateDaoTest.kt
Illustration
DEMO