This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.pixite.pigment.testing | |
| import android.app.Activity | |
| import android.app.Instrumentation | |
| import android.content.Context | |
| import android.content.Intent | |
| import androidx.fragment.app.Fragment | |
| import androidx.fragment.app.FragmentActivity | |
| import androidx.fragment.app.FragmentManager | |
| import androidx.lifecycle.Lifecycle |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME}#end | |
| import androidx.recyclerview.widget.RecyclerView | |
| import android.view.LayoutInflater | |
| import android.view.View | |
| import android.view.ViewGroup | |
| import android.view.View.OnClickListener | |
| import androidx.recyclerview.widget.DiffUtil | |
| import androidx.recyclerview.widget.ListAdapter |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import android.content.Context | |
| import android.content.Intent | |
| import android.content.IntentFilter | |
| import androidx.lifecycle.Lifecycle.Event.ON_DESTROY | |
| import androidx.lifecycle.Lifecycle.Event.ON_START | |
| import androidx.lifecycle.LifecycleObserver | |
| import androidx.lifecycle.LifecycleOwner | |
| import androidx.lifecycle.OnLifecycleEvent | |
| import android.content.BroadcastReceiver as StockReceiver |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public final class RawCertificatePinner implements OkHttpCertificatePinner{ | |
| private static final String CERTIFICATE_TYPE = "BKS"; | |
| private static final String DEFAULT_TLS_VERSION = "TLSv1.2"; | |
| private final Context context; | |
| @RawRes | |
| private final int certificate; | |
| private final String certificatePassword; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Copyright 2018 Google LLC | |
| * | |
| * Licensed under the Apache License, Version 2.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| * | |
| * Unless required by applicable law or agreed to in writing, software |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.sofaking.moonworshipper.view | |
| import android.content.Context | |
| import android.graphics.Canvas | |
| import android.graphics.Paint | |
| import android.graphics.RectF | |
| import android.util.AttributeSet | |
| import android.view.View | |
| import java.util.* | |
| import java.util.concurrent.Executors |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class PlacesActivity : AppCompatActivity() { | |
| private lateinit var placesPresenter: PlacesPresenter | |
| override fun onCreate(savedInstanceState: Bundle?) { | |
| super.onCreate(savedInstanceState) | |
| // This is how you instantiate your Presenter while the service locator resolves all of its dependencies | |
| // Note that the explicit type argument <PlacesPresenter> is not even necessary since Kotlin can infer the type | |
| placesPresenter = application.getSystemService<PlacesPresenter>() | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.common.utils | |
| import org.koin.KoinContext | |
| import org.koin.standalone.StandAloneContext | |
| import kotlin.jvm.internal.Reflection | |
| /** | |
| * @author @fredy_mederos | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class MyApplication extends Application { | |
| @Override | |
| public void onCreate() { | |
| super.onCreate(); | |
| // Call helper to start Koin | |
| JavaAppKoinKt.start(this); | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "createdBy": "Redirector v3.1.0", | |
| "createdAt": "2018-01-17T20:26:31.487Z", | |
| "redirects": [ | |
| { | |
| "description": "i.redd.it", | |
| "exampleUrl": "https://i.redd.it/jklww1vefma01.jpg", | |
| "exampleResult": "https://gir.im/i.redd.it/jklww1vefma01.jpg", | |
| "error": null, | |
| "includePattern": "https://i.redd.it/*", |