College Advisor Mobile is an app intended to help high school students make financially smart decisions when choosing a university and career path. The app allows you to search all 6343 universities in the United States and select the major that is offered at the selected university. Then, the app will give you an analysis of your decision including how long it would take you to pay off any loans you might have to take. Below is a demo video showcasing the features:
KotlinContest_Pati.1.1.mp4
The app is made up of four main screens:
-
The Home screen displays a welcome with the student's name and provides 9 articles that can be read in the app about categories such as Student Loan Debt, Choosing A College, and Choosing a Major.
-
The calculator screen first starts with a screen to take in the user's desired school and major. The majors are specific to the school selected. After selecting a school and a major the user will be redirected to a Results screen upon clicking "Calculate"
-
The Results screen summarizes important financial information a student would need to decide about what university and degree would be best for them.
-
The Favorites Screen allows the user to edit their name (that will display on this screen and the Home screen) and access their saved searches. The user can also remove favorites here. Clicking on the View More will load a Results screen from the selected school and major so the student can easily compare their options. Both the name and the favorites are saved on the device so they can be reaccessed when the app is closed.
This app's architecture follows the Model-ViewModel-Model Architecture to ensure that views do not handle state changes:
All data comes from the College Scorecard API https://collegescorecard.ed.gov/data/documentation/
Use | Source |
---|---|
Navigation | adrielcafe’s Voyager |
Data store | russhwolf's multiplatform-settings |
Web View | kevinnzou's compose-webview-multiplatform |
HTTP Client/Serialization | Ktor |
ViewModel | IceRock's moko-mvvm |
Warning You need a Mac with macOS to write and run iOS-specific code on simulated or real devices. This is an Apple requirement.
To work with this template, you need the following:
- A machine running a recent version of macOS
- Xcode
- Android Studio
- The Kotlin Multiplatform Mobile plugin
- The CocoaPods dependency manager
To run your application on an Android emulator:
- Ensure you have an Android virtual device available. Otherwise, create one.
- In the list of run configurations, select
androidApp
. - Choose your virtual device and click Run:
Alternatively, use Gradle
To install an Android application on a real Android device or an emulator, run ./gradlew installDebug
in the terminal.
To run your application on an iOS simulator in Android Studio, modify the iosApp
run configuration:
- In the list of run configurations, select Edit Configurations:
- Navigate to iOS Application | iosApp.
- In the Execution target list, select your target device. Click OK:
- The
iosApp
run configuration is now available. Click Run next to your virtual device:
You can run your Compose Multiplatform application on a real iOS device for free. To do so, you'll need the following:
- The
TEAM_ID
associated with your Apple ID - The iOS device registered in Xcode
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.