Sign Up

Sign In

Forget Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

You must login to ask question.

Discy Latest Questions

  • 0

I am building a project in android studio 3.0 with android plugin 'com.android.tools.build:gradle:3.0.0-alpha1' and gradle version gradle-4.0-milestone-1-all.zip. Used maven repo as well: maven { url 'https://maven.google.com' } Also, Using android ...

  • 0

I’m trying to create a relation between two database tables using the new Android Persistence Room Library. I looked at the documentation and tried to implement the example found at https://developer.android.com/reference/android/arch/persistence/room/Relation.html: @Entity public class User { @PrimaryKey ...

  • 0

Google recently announced new WorkManager architecture component. It makes it easy to schedule synchronous work by implementing doWork() in Worker class, but what if I want to do some asynchronous work in the background? For example, I want to make a network service call using Retrofit. ...

  • 0

When using Room from the Android Architecture Components, I received the following error when attempting to access the database using a Dagger component: java.lang.IllegalStateException: attempt to re-open an already-closed object: SQLiteDatabase: (database path) I was using Dagger version 2.11 and Room version 1.0.0-alpha7. The error ...

  • 0

Trying to build a sample using Android Studio 3 Canary 5 with Architecture Components and Kotlin gives this warning. Can anyone tell me the reason? Thanks, Ove Edit #1: This is a sample made some time ago by Dan Lew https://github.com/dlew/android-architecture-counter-sample build.gradle: apply plugin: 'com.android.application' apply ...

  • 0

Error:Not sure how to convert a Cursor to this method's return type Error:Execution failed for task ':app:compileDebugJavaWithJavac'. Compilation failed; see the compiler error output for details. Using Room I’m getting this error and I’d like to find out which method causes it. I have multiple DAOs, with ...

close