Convert your volley request in URL and find value of Parameter using key.
- Add maven in your root build.gradle
allprojects {
repositories {
maven { url 'https://jitpack.io' }
}
}
- Add the dependency in your App level build.gradle
dependencies {
implementation 'com.github.hvyas3662:VRC-android:v5.1'
}
val url = "http://Example.com/android/api/abcd.php"
val params: MutableMap<String, String> = HashMap()
params["search"] = searchQuery
val fullUrl: String = Vrc(url, params).getRequestedUrl()