This repository has been archived by the owner on Dec 4, 2022. It is now read-only.
generated from mobiledevpro/Android-Kotlin-MVVM-Template
-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* feature: added statistic parser and statistic API * configured koin * added repository for statistic * added jsoup to gradle dependencies * added models for statistic from API and from html parser * renamed total models and repository, interactor * added statistic api [SO-5] * fix: fixed merge conflicts * fixed merge conflicts [SO-5] * feature: added database implementation for statistics * refactored module DI * implemented logic for saving data [SO-5] * feature: added database implementation for statistics * added ID [SO-5] * feature: added database implementation for statistics * created two primary keys [SO-5] * feature: added database implementation for statistics * changed primary key to province [SO-5] * feature: added database implementation for statistics * added inject StatisticCovidCache to Module.kt [SO-5] * Fixes * feature: created implementation getting logic from database to viewmodel * renamed Country.kt to TotalCountry.kt * created model StatisticCountry.kt * added mapping for StatisticCountry.kt [SO-5] * feature: created statistic for country * created viewmodel * created fragment * create views for fragment, recycler item * create DiffUtil callback [SO-5] * feature: added throwable for parser * created throwable for parser * implemented logic for mapping * added error to strings.xml * added icon for StatisticCountryFragment.kt [SO-5] * fix: fixed data binding and parser * fixed data format value in mapper for xml * fixed parser, changed urls and remove const count countries * remove deprecated databinding execute method and added recommended by IDE [CO-5] * feature: added country details country statistic * added click listener to CountriesListAdapter.kt * added inject logic to DI * added safe args to gradle * added show country statistic method to NavigationExtensions.kt [CO-5] * feature: fetch confirmed-deaths-recovered in one model * added to DayStatistic three confirmed-deaths-recovered [SO-5] * fix: fixed statistic data calculating * fixed fetching statistic data * fixed calculating statistic by day [CO-5] * feature: added collapsed view for statistic screen * added draggable icon * configured fragment_statistic_country.xml * changed colorPrimaryLight * added BottomSheetBehaviour init method to StatisticCountryFragment.kt [SO-5] * feature: added chart * added MPAChart lib * added RxRelay lib * added temp chart to fragment * added time format method to DateExtensions.kt * added behavior relay to StatisticCountryViewModel.kt [SO-5] * feature: added ChartView * incremented chart lib * created custom view chart * added map-method for float to FormatExtensions.kt [SO-5] * Fixed statistics list and refactoring * Merge the latest Taras's changes * feature: changed time impl * changed time format from string to long in data layers * created view for total data * removed unusable methods form cache layer [SO-5] * feature: added total to statistic * added total * added total string * created total view model * renamed chart view model * fixed url for parser [SO-5] * UI minor changes * Show a date in total values under the chart * Increment a database version * Changed FAB behaviour Co-authored-by: KoiDev <tarasfreedev@gmail.com>
- Loading branch information
1 parent
62b26fa
commit cab4440
Showing
91 changed files
with
2,333 additions
and
324 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.