Commit 23e3c8fd authored by a6tak's avatar a6tak
Browse files

fix detekt

parent 6f33372e
Pipeline #46812 passed with stages
in 1 minute and 18 seconds
......@@ -12,14 +12,13 @@ import okhttp3.Request
import okhttp3.Response
import java.io.IOException
@Suppress("Indentation")
class SplashActivity : AppCompatActivity() {
override fun onPostResume() {
super.onPostResume()
val request: Request = Request.Builder().url("https://api.github.com/zen").build()
OkHttpClient().newCall(request).enqueue(responseCallback = object : Callback {
OkHttpClient().newCall(request).enqueue(object : Callback {
override fun onFailure(call: Call, e: IOException) {
print(e.message)
}
......
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