Commit ffaf6131 authored by wanglei's avatar wanglei

...

parent 6c2d5477
......@@ -9,10 +9,14 @@ import androidx.recyclerview.widget.RecyclerView.ViewHolder
import com.test.easy.easycleanerjunk.R
import com.test.easy.easycleanerjunk.databinding.ItemResultFunBinding
import com.test.easy.easycleanerjunk.utils.SPUtils
import com.test.easy.easycleanerjunk.view.AFunOb.APP_MANAGER
import com.test.easy.easycleanerjunk.view.AFunOb.BATTERY_INFO
import com.test.easy.easycleanerjunk.view.AFunOb.JUNK_CLEANER
import com.test.easy.easycleanerjunk.view.AFunOb.LARGE_FILE_CLEANER
import com.test.easy.easycleanerjunk.view.AFunOb.PHOTO_COMPRESS
import com.test.easy.easycleanerjunk.view.AFunOb.SCREENSHOT_CLEANER
import com.test.easy.easycleanerjunk.view.AFunOb.SIMILAR_PHOTOS
import com.test.easy.easycleanerjunk.view.AFunOb.WHATSAPP_CLEANER
import com.test.easy.easycleanerjunk.view.XmlEx.inflate
import java.util.Collections
......@@ -20,15 +24,14 @@ class AppFunctionAdapter(val click: (name: String) -> Unit) :
RecyclerView.Adapter<AppFunctionAdapter.JJJ>() {
val list = arrayListOf(
Fun(JUNK_CLEANER, R.mipmap.t_cleanjunk, "Clean junk regularly to free up space", "Clean Up"),
Fun(PHOTO_COMPRESS, R.mipmap.t_photo, "Compress photos to save space", "Compress"),
Fun(LARGE_FILE_CLEANER, R.mipmap.t_large, "Clean large files to free up storage space", "Clean Up"),
Fun(
SIMILAR_PHOTOS,
R.mipmap.t_similar,
"Check similar photos to release more space",
"Clean Up"
),
Fun(JUNK_CLEANER, R.mipmap.h_cleanjunk, "Clean junk regularly to free up space", "Clean Up"),
Fun(WHATSAPP_CLEANER, R.mipmap.h_whatsapp, "", "Clean Up"),
Fun(BATTERY_INFO, R.mipmap.h_battery, "", "Clean Up"),
Fun(LARGE_FILE_CLEANER, R.mipmap.h_large, "Clean large files to free up storage space", "Clean Up"),
Fun(PHOTO_COMPRESS, R.mipmap.h_photo, "Compress photos to save space", "Compress"),
Fun(APP_MANAGER, R.mipmap.h_appmanager, "", "Clean Up"),
Fun(SIMILAR_PHOTOS, R.mipmap.h_similar, "Check similar photos to release more space", "Clean Up"),
Fun(SCREENSHOT_CLEANER, R.mipmap.h_screenshot, "", "Clean Up"),
)
//修改顺序
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment