mirror of
https://github.com/hmalik144/Weather-apps.git
synced 2026-03-18 07:26:04 +00:00
- upgrade android gradle to 8.5
- upgrade application to android 34 - upgraded all library dependencies
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user