Remove old useless content

This commit is contained in:
EncEx
2022-04-30 17:55:39 +08:00
parent e4a1cee68a
commit 4d9db0bbce
4 changed files with 2 additions and 21 deletions
+2 -2
View File
@@ -11,8 +11,8 @@ android {
applicationId "com.lsper.view"
minSdkVersion 28
targetSdkVersion 32
versionCode 11010101
versionName "1.2.5"
versionCode 20220430
versionName "1.2.6"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
@@ -132,11 +132,6 @@ class PicActivity : BaseActivity() {
R.id.download
)
val path =
"${Environment.getExternalStorageDirectory()}/${Environment.DIRECTORY_PICTURES}/LspMake/" +
"${time}.$file_ext"
photoView = findViewById<PhotoView>(R.id.photoView)
image.setOnClickListener {
@@ -1,6 +1,5 @@
package com.hentai.yandeview.Retrofit
import com.lsp.view.bean.Post
import com.lsp.view.bean.Post_yand
import retrofit2.Call
import retrofit2.http.GET
@@ -13,15 +12,4 @@ interface PostService {
@Query("tags") tags: String?,
@Query("page") page: Int
): Call<ArrayList<Post_yand>>
@GET("index.php")
fun getPostData_php(
@Query("page") page: String,
@Query("s") s: String,
@Query("q") q: String,
@Query("limit") limit: String,
@Query("tags") tags: String?,
@Query("json") json: String,
@Query("pid") pid: String
): Call<ArrayList<Post>>
}
@@ -6,7 +6,6 @@ import android.content.Intent
import android.media.MediaScannerConnection
import android.os.*
import android.util.Log
import com.lsp.view.bean.Post
import com.lsp.view.util.Code
import okhttp3.OkHttpClient
import okhttp3.Request
@@ -14,7 +13,6 @@ import java.io.File
import java.io.FileInputStream
import java.io.FileOutputStream
import java.security.MessageDigest
import java.util.ArrayList
import kotlin.concurrent.thread
class DownloadService : Service() {