{
"items": [
{
"experiment_name": "short_builder_in_app",
"user_is_affected": true,
"paramteter" :
{
"backurl": "/vacancies",
"source" : 17
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
| Team : Перцы | |
| List : | |
| - Не забыть | |
| - Не забить |
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
| private const val WAITER_TIMEOUT_S: Long = 10L | |
| private const val WAITER_FREQUENCY_MS: Long = 50L | |
| private const val VISIBLE_EXCEPTION = "'view has effective visibility=VISIBLE' doesn't match the selected view." | |
| fun KRecyclerView.waitForChildVisible(position: Int, timeoutS: Long = WAITER_TIMEOUT_S) { | |
| doWaitForMatchingView(timeoutS) { | |
| childAt<KRecyclerItem<Unit>>(position) { | |
| isVisible() |
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
| fun RecyclerActions.scrollToEndWithPagination() { | |
| scrollToEnd() | |
| view.perform(ViewActions.swipeUp()) | |
| } | |
| fun <T : KRecyclerItem<T>> KRecyclerView.paginateUntilChildMatching( | |
| childMatcher: ViewBuilder.() -> Unit, | |
| timeoutS: Long = WAITER_TIMEOUT_S) { | |
| while (true) { |
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.test.hashset | |
| import org.junit.Assert.assertFalse | |
| import org.junit.Assert.assertTrue | |
| import org.junit.Test | |
| class HashSetUnitTest { | |
| class Some(var a: Int, var b: Int) { | |
| override fun equals(other: Any?): Boolean { |
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 App : Application() { | |
| override fun onCreate() { | |
| super.onCreate() | |
| MvpFacade.init() | |
| DI.init(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
| override fun onCreate(savedInstanceState: Bundle?) { | |
| super.onCreate(savedInstanceState) | |
| setContentView(R.layout.activity_address_search_manual) | |
| val address = intent.getSerializableExtra(KEY_BUNDLE_ADDRESS) as Address? | |
| getPresenter().init(address, intent.getBooleanExtra(KEY_BUNDLE_WAITING_FOR_RESULT, false)) | |
| initViews() | |
| } |
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
| override fun onCreate(savedInstanceState: Bundle?) { | |
| super.onCreate(savedInstanceState) | |
| setContentView(R.layout.activity_address_search_manual) | |
| val address = intent.getSerializableExtra(KEY_BUNDLE_ADDRESS) as Address? | |
| getPresenter().init(address, intent.getBooleanExtra(KEY_BUNDLE_WAITING_FOR_RESULT, false)) | |
| initViews() | |
| } |
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 void onDestroy() { | |
| super.onDestroy(); | |
| boolean anyParentIsRemoving = false; | |
| for (Fragment parent = this.getParentFragment(); !anyParentIsRemoving && parent != null; | |
| parent = parent.getParentFragment()) { | |
| anyParentIsRemoving = parent.isRemoving(); | |
| } |
NewerOlder