edwardwongtl09/15/2017, 5:41 AM
to load the url more elegantly. Something like
to wrap the call of the underlying ImageLoading library.
Ali02/04/2022, 9:16 AM
ordering is really matters here or its the same?
val domainContent = contentUseCase.run(args) ensureActive()
Looks like its not the same. I have issue with the second case.
ensureActive() val domainContent = contentUseCase.run(args)
Vivek Modi02/04/2022, 3:49 PM
Barry Fawthrop02/04/2022, 9:41 PM
Eimantas Urbonas02/05/2022, 4:06 PM
Ali Akram02/06/2022, 2:43 PM
Ravi02/07/2022, 2:20 PM
Ilya Kalibrov [JB]02/09/2022, 9:15 AM
Nick Shv02/10/2022, 6:15 AM
Jeff Hagen02/10/2022, 11:58 AM
Tran Thang02/10/2022, 3:47 PM
Arash Rostami02/11/2022, 8:25 AM
Arash Rostami02/13/2022, 7:17 AM
Dian02/14/2022, 7:48 PM
Alderson Elliot02/16/2022, 7:51 AM
Ryan Flynn02/16/2022, 6:39 PM
Ryan Flynn02/16/2022, 6:42 PM
Activity - Home - dest 1 - dest 2 - dest 3 - dest 4 - Screen 1 - Screen 2 - Screen 3 - Profile
Ryan Flynn02/16/2022, 6:43 PM
Nathaniel Rowe02/17/2022, 8:08 PM
Uğur02/24/2022, 8:27 PM
Vaios Tsitsonis02/25/2022, 4:10 PM
field (else they will run in the
buildType). Let's say that I have a buildType with the name
, then everything works as expected. The problem is that when the name of the buildType is calculated by a function this does not seem to work. The strange thing is that
assigns the correct value but in Android Studio I get
when I try to run them. Even if we define a pretty dummy calculate function the tests wont run (
<-- this does not work :S). Is this expected behaviour? My goal is to be able to run tests on the current buildType, without having to switch to the debug buildType which is counterproductive.
calculateBuildType(): String = "buildTypeA"
Maciej Pigulski03/02/2022, 12:31 PM
In my particular case I set the navigation graph programatically in Activity.onCreate method based on some result from LiveData observe subscription that is done in onCreate. It works because I have LiveData available straight away when Activity starts. Problem is when I have a configuration change event such as going from light to dark mode. App starts crashing because flow is somehow different when restoring state and
gets called before Activity is in STARTED state. STARTED state is the state when LiveData start pushing data to the observers. Any ideas on how to go around it? Might be my fault is that I create UI based on some LiveData stream output and this is just wrong.
Jeremie03/02/2022, 5:05 PM
haris mehmood03/03/2022, 9:52 AM
Faysal Hossain03/07/2022, 10:02 PM
Gourav Saxena03/08/2022, 5:38 AM