We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cb0ef99 + d993621 commit 06ed11fCopy full SHA for 06ed11f
library/src/main/java/com/alamkanak/weekview/WeekView.java
@@ -1433,6 +1433,14 @@ else if (hour > 24)
1433
invalidate();
1434
}
1435
1436
+ /**
1437
+ * Get the first hour that is visible on the screen.
1438
+ * @return The first hour that is visible.
1439
+ */
1440
+ public double getFirstVisibleHour(){
1441
+ return -mCurrentOrigin.y / mHourHeight;
1442
+ }
1443
+
1444
1445
1446
/////////////////////////////////////////////////////////////////
0 commit comments