Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
10c7019aeb | ||
|
|
76aa401800 | ||
|
|
dab5878f74 |
No files matched your search
@@ -65,7 +65,7 @@ android {
|
|||||||
minSdk = 28
|
minSdk = 28
|
||||||
targetSdk = 34
|
targetSdk = 34
|
||||||
versionCode = 180044
|
versionCode = 180044
|
||||||
versionName = "1.8.10.1"
|
versionName = "1.8.10.2"
|
||||||
resourceConfigurations.addAll(
|
resourceConfigurations.addAll(
|
||||||
listOf(
|
listOf(
|
||||||
"zh",
|
"zh",
|
||||||
|
|||||||
+1
-1
@@ -601,7 +601,7 @@ open class SubsamplingScaleImageView @JvmOverloads constructor(
|
|||||||
|
|
||||||
private fun onTouchEventInternal(event: MotionEvent): Boolean {
|
private fun onTouchEventInternal(event: MotionEvent): Boolean {
|
||||||
val touchCount = event.pointerCount
|
val touchCount = event.pointerCount
|
||||||
when (event.action) {
|
when (event.actionMasked) {
|
||||||
MotionEvent.ACTION_DOWN, MotionEvent.ACTION_POINTER_DOWN -> {
|
MotionEvent.ACTION_DOWN, MotionEvent.ACTION_POINTER_DOWN -> {
|
||||||
anim = null
|
anim = null
|
||||||
requestDisallowInterceptTouchEvent(true)
|
requestDisallowInterceptTouchEvent(true)
|
||||||
|
|||||||
@@ -31,10 +31,10 @@ object GalleryPageApiParser {
|
|||||||
val imageUrl = PATTERN_IMAGE_URL.find(res.imageUrl)?.run {
|
val imageUrl = PATTERN_IMAGE_URL.find(res.imageUrl)?.run {
|
||||||
groupValues[1].trim().unescapeXml()
|
groupValues[1].trim().unescapeXml()
|
||||||
}
|
}
|
||||||
val skipHathKey = PATTERN_SKIP_HATH_KEY.find(res.skipHathKey)?.run {
|
val skipHathKey = PATTERN_SKIP_HATH_KEY.find(res.skipHathKeyAndOriginImageUrl)?.run {
|
||||||
groupValues[1].trim().unescapeXml()
|
groupValues[1].trim().unescapeXml()
|
||||||
}
|
}
|
||||||
val originImageUrl = PATTERN_ORIGIN_IMAGE_URL.find(res.originImageUrl)?.run {
|
val originImageUrl = PATTERN_ORIGIN_IMAGE_URL.find(res.skipHathKeyAndOriginImageUrl)?.run {
|
||||||
groupValues[1].unescapeXml() + "fullimg.php" + groupValues[2].unescapeXml()
|
groupValues[1].unescapeXml() + "fullimg.php" + groupValues[2].unescapeXml()
|
||||||
}
|
}
|
||||||
check(!imageUrl.isNullOrEmpty())
|
check(!imageUrl.isNullOrEmpty())
|
||||||
@@ -49,9 +49,7 @@ object GalleryPageApiParser {
|
|||||||
@SerialName("i3")
|
@SerialName("i3")
|
||||||
val imageUrl: String,
|
val imageUrl: String,
|
||||||
@SerialName("i6")
|
@SerialName("i6")
|
||||||
val skipHathKey: String,
|
val skipHathKeyAndOriginImageUrl: String,
|
||||||
@SerialName("i7")
|
|
||||||
val originImageUrl: String,
|
|
||||||
)
|
)
|
||||||
|
|
||||||
class Result(val imageUrl: String, val skipHathKey: String?, val originImageUrl: String?)
|
class Result(val imageUrl: String, val skipHathKey: String?, val originImageUrl: String?)
|
||||||
|
|||||||
Reference in new issue
Block a user