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.
1 parent 9f9b25b commit d993621Copy full SHA for d993621
library/src/main/java/com/alamkanak/weekview/WeekView.java
@@ -1390,6 +1390,14 @@ else if (hour * mHourHeight > mHourHeight * 24 - getHeight() + mHeaderTextHeight
1390
invalidate();
1391
}
1392
1393
+ /**
1394
+ * Get the first hour that is visible on the screen.
1395
+ * @return The first hour that is visible.
1396
+ */
1397
+ public double getFirstVisibleHour(){
1398
+ return -mCurrentOrigin.y / mHourHeight;
1399
+ }
1400
+
1401
1402
1403
/////////////////////////////////////////////////////////////////
0 commit comments