mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-06-05 21:59:17 +02:00
double the amount of swipable fragments
This commit is contained in:
@@ -19,7 +19,7 @@ import org.joda.time.DateTime
|
||||
import java.util.*
|
||||
|
||||
class DayFragmentsHolder : MyFragmentHolder(), NavigationListener {
|
||||
private val PREFILLED_DAYS = 121
|
||||
private val PREFILLED_DAYS = 251
|
||||
|
||||
private var viewPager: MyViewPager? = null
|
||||
private var defaultDailyPage = 0
|
||||
|
@@ -19,7 +19,7 @@ import kotlinx.android.synthetic.main.fragment_months_holder.view.*
|
||||
import org.joda.time.DateTime
|
||||
|
||||
class MonthFragmentsHolder : MyFragmentHolder(), NavigationListener {
|
||||
private val PREFILLED_MONTHS = 97
|
||||
private val PREFILLED_MONTHS = 251
|
||||
|
||||
private var viewPager: MyViewPager? = null
|
||||
private var defaultMonthlyPage = 0
|
||||
|
@@ -22,7 +22,7 @@ import kotlinx.android.synthetic.main.fragment_week_holder.view.*
|
||||
import org.joda.time.DateTime
|
||||
|
||||
class WeekFragmentsHolder : MyFragmentHolder(), WeekFragmentListener {
|
||||
private val PREFILLED_WEEKS = 61
|
||||
private val PREFILLED_WEEKS = 151
|
||||
|
||||
private var weekHolder: ViewGroup? = null
|
||||
private var defaultWeeklyPage = 0
|
||||
|
@@ -16,7 +16,7 @@ import kotlinx.android.synthetic.main.fragment_years_holder.view.*
|
||||
import org.joda.time.DateTime
|
||||
|
||||
class YearFragmentsHolder : MyFragmentHolder() {
|
||||
private val PREFILLED_YEARS = 31
|
||||
private val PREFILLED_YEARS = 61
|
||||
|
||||
private var viewPager: MyViewPager? = null
|
||||
private var defaultYearlyPage = 0
|
||||
|
Reference in New Issue
Block a user