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 8f8b73a + d993621 commit 1d94316Copy full SHA for 1d94316
library/src/main/java/com/alamkanak/weekview/WeekView.java
@@ -1509,6 +1509,14 @@ else if (hour > 24)
1509
invalidate();
1510
}
1511
1512
+ /**
1513
+ * Get the first hour that is visible on the screen.
1514
+ * @return The first hour that is visible.
1515
+ */
1516
+ public double getFirstVisibleHour(){
1517
+ return -mCurrentOrigin.y / mHourHeight;
1518
+ }
1519
+
1520
1521
1522
/////////////////////////////////////////////////////////////////
0 commit comments