diff --git a/V2rayNG/app/build.gradle b/V2rayNG/app/build.gradle index 3c906e29..a0cb7c43 100644 --- a/V2rayNG/app/build.gradle +++ b/V2rayNG/app/build.gradle @@ -89,12 +89,9 @@ dependencies { implementation 'io.reactivex:rxjava:1.3.4' implementation 'io.reactivex:rxandroid:1.2.1' implementation 'com.tbruyelle.rxpermissions:rxpermissions:0.9.4@aar' - implementation 'com.dinuscxj:recycleritemdecoration:1.0.0' - implementation 'io.reactivex:rxkotlin:0.60.0' implementation 'me.dm7.barcodescanner:core:1.9.8' implementation 'me.dm7.barcodescanner:zxing:1.9.8' implementation 'com.github.jorgecastilloprz:fabprogresscircle:1.01@aar' - implementation 'com.beust:klaxon:3.0.1' implementation(name: 'libv2ray', ext: 'aar') //implementation(name: 'tun2socks', ext: 'aar') diff --git a/V2rayNG/app/src/main/kotlin/com/v2ray/ang/ui/PerAppProxyActivity.kt b/V2rayNG/app/src/main/kotlin/com/v2ray/ang/ui/PerAppProxyActivity.kt index 3ba3120c..d154d4d3 100644 --- a/V2rayNG/app/src/main/kotlin/com/v2ray/ang/ui/PerAppProxyActivity.kt +++ b/V2rayNG/app/src/main/kotlin/com/v2ray/ang/ui/PerAppProxyActivity.kt @@ -4,6 +4,8 @@ import android.animation.Animator import android.animation.AnimatorListenerAdapter import android.content.Context import android.os.Bundle +import android.support.v7.widget.DividerItemDecoration +import android.support.v7.widget.LinearLayoutManager import android.support.v7.widget.RecyclerView import android.text.TextUtils import android.util.Log @@ -12,7 +14,6 @@ import android.view.MenuItem import android.view.View import android.view.animation.AccelerateInterpolator import android.view.animation.DecelerateInterpolator -import com.dinuscxj.itemdecoration.LinearDividerItemDecoration import com.v2ray.ang.R import com.v2ray.ang.extension.defaultDPreference import com.v2ray.ang.util.AppManagerUtil @@ -47,8 +48,7 @@ class PerAppProxyActivity : BaseActivity() { supportActionBar?.setDisplayHomeAsUpEnabled(true) - val dividerItemDecoration = LinearDividerItemDecoration( - this, LinearDividerItemDecoration.LINEAR_DIVIDER_VERTICAL) + val dividerItemDecoration = DividerItemDecoration(this, LinearLayoutManager.VERTICAL) recycler_view.addItemDecoration(dividerItemDecoration) val blacklist = defaultDPreference.getPrefStringSet(PREF_PER_APP_PROXY_SET, null) @@ -276,4 +276,4 @@ class PerAppProxyActivity : BaseActivity() { } return true } -} \ No newline at end of file +} diff --git a/V2rayNG/app/src/main/res/raw/licenses.xml b/V2rayNG/app/src/main/res/raw/licenses.xml index 2df2478e..e7949142 100644 --- a/V2rayNG/app/src/main/res/raw/licenses.xml +++ b/V2rayNG/app/src/main/res/raw/licenses.xml @@ -17,12 +17,6 @@ Copyright(C) 2008-2011 The Android Open Source Project Apache Software License 2.0 - - Apache Commons Validator - http://commons.apache.org/proper/commons-collections/ - Copyright(C) 2001-2014 The Apache Software Foundation - Apache Software License 2.0 - anko https://github.com/Kotlin/anko @@ -52,33 +46,9 @@ Copyright 2015 Square, Inc. Apache Software License 2.0 - - ReactiveNetwork - https://github.com/pwittchen/ReactiveNetwork - Copyright 2016 Piotr Wittchen - Apache Software License 2.0 - - - RecyclerItemDecoration - https://github.com/dinuscxj/RecyclerItemDecoration - Copyright 2015-2019 dinus - Apache Software License 2.0 - - - RxKotlin - https://github.com/ReactiveX/RxKotlin - Copyright 2012 Netflix, Inc. - Apache Software License 2.0 - RxPermissions https://github.com/tbruyelle/RxPermissions Apache Software License 2.0 - - RecyclerItemDecoration - https://github.com/dinuscxj/RecyclerItemDecoration - Copyright 2015-2019 dinus - Apache Software License 2.0 - - \ No newline at end of file +