cuddlecheek
06/01/2017, 8:17 PMmrobinson
06/01/2017, 11:50 PMclass MyService : Service() {
val myIntent = Intent(this, MyActivity::class.java)
/* Other stuff */
}
This causes an NPE on Context.getPackageName()
on the line where I'm making the Intent.weitzj
06/02/2017, 9:55 AMvyacheslav.gerasimov
06/02/2017, 10:00 PMyperess
06/03/2017, 6:57 PMbod
06/04/2017, 9:53 AM1.1.2-4
on my project. I get kapt3 compilation errors related to databinding. Reverting to 1.1.2-2
again resolves it. Does anybody here have the same problem?kennyyi
06/04/2017, 11:28 AMopen class PostTask() : AsyncTask<String, Void, Void>() {
override fun doInBackground(vararg params: String?): Void {
NetworkModule().getRetrofitClient(URL_TEST).create(PostService::class.java)
.postData(params[0])
}
}
Android studio shows [TYPE_MISMATCH] error for params[0]
, and if I change String?
to String
, the parameter’s type of doInBackground, [NO_RETURN_IN_FUNCTION_WITH_BLOCK_BODY] error is happened.
1. How to compare type Type?
and Type
?
2. How to write return statement, if return type was Void
?pan
06/04/2017, 11:29 AMfunrep
06/04/2017, 7:51 PMjw
06/05/2017, 3:15 AMpawegio
06/05/2017, 8:36 AM3.0.0-alpha3
? It worked fine with stable 2.3.2
.
Execution failed for task ':app:testDebugUnitTest'.
> java.lang.NullPointerException (no error message)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:100)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:70)
...
aaron_c
06/05/2017, 6:51 PMPavankumar Joshi
06/06/2017, 11:13 AMmiha-x64
06/06/2017, 1:35 PMbudioktaviyan
06/06/2017, 5:19 PMjackmiras
06/07/2017, 2:36 AMisPermissionGranted(activity)
out of the presenter?ihor.kucherenko
06/07/2017, 3:16 AMhttps://youtu.be/FrteWKKVyzI▾
dzakens
06/07/2017, 6:52 AMlouiscad
06/07/2017, 1:09 PMmorganbovi
06/07/2017, 7:23 PMfahadmk
06/08/2017, 4:38 AMvicpinm
06/08/2017, 6:53 AMmenegatti
06/08/2017, 8:02 AMmarcinmoskala
06/08/2017, 11:37 AMaaron_c
06/08/2017, 9:09 PMaaron_c
06/08/2017, 9:10 PMbert
06/08/2017, 10:23 PMiex
06/09/2017, 7:22 AMreline
06/09/2017, 2:54 PMjames.howe
06/09/2017, 2:57 PMError:(1, 1) Some error(s) occurred while processing annotations. Please see the error messages above.
james.howe
06/09/2017, 2:57 PMError:(1, 1) Some error(s) occurred while processing annotations. Please see the error messages above.
aezhkov
06/09/2017, 3:47 PMradityagumay
06/10/2017, 10:16 AM