Lilly
04/23/2020, 9:13 PMColton Idle
04/24/2020, 6:51 AMdiego-gomez-olvera
04/24/2020, 11:03 AMBala dakshna
04/24/2020, 7:22 PMStefan Sturm
04/25/2020, 12:22 PMDustin Lam
04/25/2020, 8:50 PMJoan Colmenero
04/26/2020, 10:23 AMFailureBo
could someone give me an example of what should be? I do not know if it should extend of Failure
or Throwable
Thank you guys.
[1] : https://proandroiddev.com/how-to-return-an-either-error-data-with-a-centralised-error-handler-on-android-72efdaf88ccaSmith
04/26/2020, 7:05 PMLilly
04/27/2020, 12:52 PMJetpack Compose
aware of configuration changes or should we still use AAC ViewModel
for this purpose?Madhan
04/27/2020, 2:54 PMclasspath("com.android.tools.build:gradle:3.6.3")
classpath(kotlin("gradle-plugin", version = "1.3.72"))
In my app module.
android block not getting recognised.
Can any one help me out this?Pypdeveloper
04/28/2020, 6:46 AMPypdeveloper
04/28/2020, 11:46 AMAugusto Pinto
04/28/2020, 6:17 PMJoan Colmenero
04/28/2020, 10:50 PMPypdeveloper
04/29/2020, 6:20 AMiex
04/29/2020, 8:39 PMgson
models declares a field as non-optional but the api doesn't send it? It doesn't crash when setting the field, but appears to force a null
in somehow and it crashes later when accessing it.bhatnagarm
04/29/2020, 8:51 PMOleg Siboglov
04/29/2020, 8:52 PMfun foo(int: Int = 0, string: String = "")
verify(someMock).foo(int = intCaptor.capture)
Currently Mockito is throwing a InvalidUseOfMatchersException
, claiming its expecting 5 matchers (actual number of parameters) and instead it only recorded one. Im hoping theres a better approach than creating 5 different captors.Nikola Milovic
04/30/2020, 9:42 AMaipok
05/01/2020, 9:13 AMandroid
related question.
I was hopping we are community, even tho about kotlin
mainly, that are filled with professionals in Android and near technologies.
And if we are professionals, why could we ask here tricky android
questions to get smart answers and getting even smarter?! Even if question is not fully related to kotlin
!Shahumang8
05/02/2020, 9:39 AMAhmed Mourad
05/02/2020, 12:06 PMNav Singh
05/02/2020, 4:45 PMrkeazor
05/02/2020, 6:15 PMAhmed Adel
05/03/2020, 5:34 PMDarshan
05/03/2020, 6:13 PMGeert
05/04/2020, 11:22 AMKlaas Kabini
05/04/2020, 11:34 AMfun foo(@StringRes clickablePhraseIds: IntArray){}
Shawn Karber_
05/04/2020, 10:47 PMAslam Hossin
05/05/2020, 4:50 AMoverride fun onAttach(context: Context) {
AndroidSupportInjection.inject(this)
super.onAttach(context)
if (context is Listener) {
listener = context
}
}
override fun onDetach() {
super.onDetach()
listener = null
}
Aslam Hossin
05/05/2020, 4:50 AMoverride fun onAttach(context: Context) {
AndroidSupportInjection.inject(this)
super.onAttach(context)
if (context is Listener) {
listener = context
}
}
override fun onDetach() {
super.onDetach()
listener = null
}
David Eriksson
05/05/2020, 7:50 AMAslam Hossin
05/05/2020, 11:20 AMoverride fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
listener=
parentFragment?.childFragmentManager?.primaryNavigationFragment.cast<Listner>()
}
override fun onDestroy() {
super.onDestroy()
listener= null
}
David Eriksson
05/05/2020, 12:00 PMAslam Hossin
05/05/2020, 12:05 PM