Add Statistic screen, accessible from the main screen (Tasks screen). This screen shows the number of completed tasks, important completed tasks and how many Medium to High priority tasks are yet to be completed. StatsViewModel pulls all data from StorageService, which is the file where we perform all calls to Firestore. The new calls involve more complex queries, using a mix of OR, AND, IN and WHERE.
Add Statistic screen, accessible from the main screen (Tasks screen). This screen shows the number of completed tasks, important completed tasks and how many Medium to High priority tasks are yet to be completed.
StatsViewModel
pulls all data fromStorageService
, which is the file where we perform all calls to Firestore. The new calls involve more complex queries, using a mix ofOR
,AND
,IN
andWHERE
.