Skip to content

Commit 6f829dd

Browse files
trying to fix not being able to use the library.
1 parent a6ff5c8 commit 6f829dd

File tree

3 files changed

+1
-9
lines changed

3 files changed

+1
-9
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ allprojects {
2121
group = GROUP
2222

2323
repositories {
24-
jcenter()
2524
google()
25+
jcenter()
2626
}
2727
}

library/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
apply plugin: 'com.android.library'
22
apply plugin: 'kotlin-android'
3-
//apply plugin: 'kotlin-android-extensions'
43

54
repositories {
65
mavenCentral()

library/src/main/java/com/alamkanak/weekview/WeekView.kt

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1513,7 +1513,6 @@ class WeekView @JvmOverloads constructor(context: Context, attrs: AttributeSet?
15131513
canvas.drawRect(0f, 0f, mHeaderColumnWidth, headerTitleAndSubtitleTextHeight + weekDaysHeaderRowTotalPadding, mHeaderBackgroundPaint)
15141514
else
15151515
canvas.drawRect(canvas.clipBounds, mHeaderBackgroundPaint)
1516-
// canvas.drawRect(0f, 0f, mTimeTextWidth + headerColumnPadding * 2, mHeaderHeight + weekDaysHeaderRowPadding * 2, mHeaderBackgroundPaint)
15171516

15181517
// draw text on the left of the week days
15191518
when {
@@ -2413,12 +2412,6 @@ class WeekView @JvmOverloads constructor(context: Context, attrs: AttributeSet?
24132412
}
24142413

24152414
interface EventLongPressListener {
2416-
/**
2417-
* Similar to [com.alamkanak.weekview.WeekView.EventClickListener] but with a long press.
2418-
*
2419-
* @param event: event clicked.
2420-
* @param eventRect: view containing the clicked event.
2421-
*/
24222415
fun onEventLongPress(event: WeekViewEvent, eventRect: RectF)
24232416
}
24242417

0 commit comments

Comments
 (0)