|
|
|
@ -8,8 +8,9 @@ import androidx.ui.examples.jetissues.view.JetIssuesView
|
|
|
|
|
import androidx.ui.examples.jetissues.view.Repository |
|
|
|
|
import androidx.ui.examples.jetissues.data.IssuesRepositoryImpl |
|
|
|
|
import androidx.ui.examples.jetissues.data.defaultAuth |
|
|
|
|
import androidx.ui.examples.jetissues.data.defaultRepo |
|
|
|
|
|
|
|
|
|
val repo = IssuesRepositoryImpl("ktorio", "ktor", System.getenv("GITHUB_TOKEN") ?: defaultAuth) |
|
|
|
|
val repo = IssuesRepositoryImpl(defaultAuth.first, defaultRepo.second, System.getenv("GITHUB_TOKEN") ?: defaultAuth) |
|
|
|
|
|
|
|
|
|
class MainActivity : AppCompatActivity() { |
|
|
|
|
override fun onCreate(savedInstanceState: Bundle?) { |
|
|
|
|