edwardwongtl
09/15/2017, 5:41 AMImageView
to load the url more elegantly.
Something like ImageView.loadUrl()
to wrap the call of the underlying ImageLoading library.Ali
02/04/2022, 9:16 AMensureActive
ordering is really matters here or its the same?
val domainContent = contentUseCase.run(args)
ensureActive()
vs
ensureActive()
val domainContent = contentUseCase.run(args)
Looks like its not the same. I have issue with the second case.Vivek Modi
02/04/2022, 3:49 PMBarry Fawthrop
02/04/2022, 9:41 PMEimantas Urbonas
02/05/2022, 4:06 PMAli Akram
02/06/2022, 2:43 PMRavi
02/07/2022, 2:20 PMIlya Kalibrov [JB]
02/09/2022, 9:15 AMNick Shv
02/10/2022, 6:15 AMJeff Hagen
02/10/2022, 11:58 AMTran Thang
02/10/2022, 3:47 PMArash Rostami
02/11/2022, 8:25 AMArash Rostami
02/13/2022, 7:17 AMGuilherme Delgado
02/14/2022, 3:58 PMDian
02/14/2022, 7:48 PMAlderson Elliot
02/16/2022, 7:51 AMRyan Flynn
02/16/2022, 6:39 PMRyan Flynn
02/16/2022, 6:42 PMActivity
- Home
- dest 1
- dest 2
- dest 3
- dest 4
- Screen 1
- Screen 2
- Screen 3
- Profile
Ryan Flynn
02/16/2022, 6:43 PMNathaniel Rowe
02/17/2022, 8:08 PMUğur
02/24/2022, 8:27 PMJas
02/25/2022, 5:34 AMDeepak Gahlot
02/25/2022, 9:59 AMVaios Tsitsonis
02/25/2022, 4:10 PMtestBuildType
field (else they will run in the debug
buildType). Let's say that I have a buildType with the name buildTypeA
and write testBuildType="buildTypeA"
, 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 testBuildType=calculateBuildType()
assigns the correct value but in Android Studio I get Nothing here
when I try to run them. Even if we define a pretty dummy calculate function the tests wont run (calculateBuildType(): String = "buildTypeA"
<-- 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.Faysal Hossain
02/26/2022, 12:11 PMMaciej Pigulski
03/02/2022, 12:31 PMhiltNavGraphViewModels
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 hiltNavGraphViewModels
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.Jeremie
03/02/2022, 5:05 PMharis mehmood
03/03/2022, 9:52 AMFaysal Hossain
03/07/2022, 10:02 PMGourav Saxena
03/08/2022, 5:38 AM