remove the max 10 events limit
This commit is contained in:
parent
eba27b2541
commit
2ab9ad73bd
|
@ -37,7 +37,6 @@ class FetchGoogleEventsTask(val activity: Activity, credential: GoogleAccountCre
|
||||||
private fun getDataFromApi(): List<Event> {
|
private fun getDataFromApi(): List<Event> {
|
||||||
val now = DateTime(System.currentTimeMillis() - getMonthMillis())
|
val now = DateTime(System.currentTimeMillis() - getMonthMillis())
|
||||||
val events = service.events().list("primary")
|
val events = service.events().list("primary")
|
||||||
.setMaxResults(10)
|
|
||||||
.setTimeMin(now)
|
.setTimeMin(now)
|
||||||
.setOrderBy("startTime")
|
.setOrderBy("startTime")
|
||||||
.setSingleEvents(true)
|
.setSingleEvents(true)
|
||||||
|
|
Loading…
Reference in New Issue