You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 27, 2024. It is now read-only.
This issue covers creating a custom view called MonthView, which will be responsible for navigating between months. You can see in the following short gif what MonthView. Basically, it is a small custom view which will have two buttons on the sides and text in the middle:
Create a custom view called MonthView. Since this view will also be reused in Stats module as well, we need to put it to core-utils module. It will have the following details:
Layout needs to be implemented with ConstraintLayout
Pressing < will go to previous month, the month title also should be changed
Pressing > will go to next month, the month title also should be changed
Year only appended to month when it is not current year. For example, current month will be shown as "October", however next January will be "January 2021", and previous will be "January 2019"
The text was updated successfully, but these errors were encountered:
This issue covers creating a custom view called
MonthView
, which will be responsible for navigating between months. You can see in the following short gif whatMonthView
. Basically, it is a small custom view which will have two buttons on the sides and text in the middle:You can refer to its previous implementation, which can be found at https://github.com/shagalalab/qarejet-android-old/tree/master/core-widgets/src/main/java/com/shagalalab/qarejet/core/widgets/month. Although, the previous implementation was using MVP, now you need to change it to MVI way. This will be your first "real" experience of working with USF.
Task
Create a custom view called
MonthView
. Since this view will also be reused inStats
module as well, we need to put it tocore-utils
module. It will have the following details:feature/monthview
com.shagalalab.core.utils.ui.monthview
MonthView
,MonthViewModel
,MonthUsf
MonthView
below Toolbar inRecordsFragment
joda-time
library was used previously, but now we can use https://github.com/Kotlin/kotlinx-datetimeAcception criteria
ConstraintLayout
<
will go to previous month, the month title also should be changed>
will go to next month, the month title also should be changedThe text was updated successfully, but these errors were encountered: