Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Kotlin Mortgage Calculator using Android Studio - NOT JAVA Create an app that will accept inputs related to a mortgage and output the monthly cost

Kotlin Mortgage Calculator using Android Studio - NOT JAVA

Create an app that will accept inputs related to a mortgage and output the monthly cost and amortization table. The app will have two Activities and the amortization table will be in a recycler view on the second activity.

First Activity

  1. The UI will contain Years, APR, Estimated Escrow, and Loan Amount Fields

  2. The user will be allowed to select from 3 different ranges for year: 15, 30, and 40

  3. The user will be allowed to input or select from a range, a valid APR percentage

    1. The number must be no more than 3 decimal places (4.865% for example).

    2. The field must only accept numbers for the input (remember!! Users can connect a keyboard to

      their devices!!)

    3. You may elect to specify a set selection range of todays rates (drop down list as it were

      instead of the user inputting into the field with the keyboard)

  4. The user will be allowed to insert a monetary value in the escrow field

    1. Must be a valid number

    2. Must follow currency rules (no more than 2 decimal places allowed)

  5. The user will be allowed to insert a monetary value for the loan amount

    1. Must be a valid number

    2. Must follow currency rules (no more than 2 decimal places allowed)

  6. The user will be allowed to press a button to calculate the loan payments and amount

    1. When this button is pressed, it will start the next activity showing the amount and amortization table

    2. The button should not be press-able unless all necessary information is provided

  7. The user will be allowed to press a button to reset the screen to either clear all fields or reset

    them back to an initial state if desired

Second Activity

  1. The interface will display the monthly payment statically at the top or bottom of the screen (it must always be visible)

  2. The amortization table will show the change each month (each row) and contain several values: 1. Remaining loan amount left to pay 2. Amount of payment being applied to principal 3. Amount of payment being applied to interest

    4. Amount of payment being applied to escrow

    (each row should contain these 4 data points)

  3. The amortization must show all months for the selected number of years 1. 15 year will show 180 rows 2. 30 year will show 360 rows 3. 40 year will show 480 rows

  4. The data in the amortization table must be accurate

    1. The data is in currency and therefore should only ever display at most 2 decimal places

    2. The loan amount should end at 0.00 and NOT go negative on the last payment

General Requirements

1. The application should Compile

2. The application should not crash

3. The application should separate the code into different files appropriately (following the Kotlin Coding Conventions - Source Code Organization found here (Links to an external site.))

4. The content should fit on the screen properly

5. The application is coded in Kotlin (automatic 0 given for Java)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Microsoft SQL Server 2012 Unleashed

Authors: Ray Rankins, Paul Bertucci

1st Edition

0133408507, 9780133408508

More Books

Students also viewed these Databases questions

Question

4. How would you deal with the store manager?

Answered: 1 week ago

Question

Write the difference between sexual and asexual reproduction.

Answered: 1 week ago

Question

What your favourite topic in mathematics?

Answered: 1 week ago

Question

Briefly describe vegetative reproduction in plants.

Answered: 1 week ago