- upgrade android gradle to 8.5

- upgrade application to android 34
 - upgraded all library dependencies
This commit is contained in:
2024-06-26 14:42:04 +01:00
parent 78deab2b77
commit 7e405a5151
7 changed files with 38 additions and 32 deletions

View File

@@ -31,7 +31,7 @@ open class BaseTestRobot {
fun goBack() = Espresso.pressBack()
fun fillEditText(resId: Int, text: String?): ViewInteraction =
fun fillEditText(resId: Int, text: String): ViewInteraction =
onView(withId(resId)).perform(
ViewActions.replaceText(text),
ViewActions.closeSoftKeyboard()

View File

@@ -13,7 +13,7 @@ fun <T> LiveData<T>.getOrAwaitValue(
var data: T? = null
val latch = CountDownLatch(1)
val observer = object : Observer<T> {
override fun onChanged(o: T?) {
override fun onChanged(o: T) {
data = o
latch.countDown()
this@getOrAwaitValue.removeObserver(this)