@@ -6,7 +6,7 @@ plugins {
ext {
GROUP_ID = 'com.wenext.android'
ARTIFACT_ID = 'frame-bom'
- VERSION = '6.2.9'
+ VERSION = '6.2.10'
}
dependencies {
@@ -7,7 +7,7 @@ plugins {
ARTIFACT_ID = 'frame-util'
- VERSION = '6.0.7'
+ VERSION = '6.0.8'
if (project.FRAME_DEBUG != "true") {
@@ -4,6 +4,9 @@ fun <T> List<T>.safeSubList(fromIndex: Int = 0, toIndex: Int = size): List<T> {
if (isEmpty()) {
return emptyList()
+ if (toIndex < 0) {
+ return emptyList()
+ }
val to = if (toIndex > size) {
size
} else {