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

The error states that the parameter savedInstanceState is null, when it is specified as non-null; but it is nullable (savedInstanceState: Bundle?) and the onCreate() method is marked as @Nullable in the source. I have not come across this error in any of my other Kotlin projects. I ...

  • 0

I have used this code in manifest inside activity tag: 'android:theme="@style/Theme.AppCompat.Light.NoActionBar"' But my view doesn’t start from the status bar & it looks like this: How can I make my activity look like the first one?

  • 0

I have an activity that has android:windowIsTranslucent set to true and android:windowBackground set to a translucent background. I just changed my target and compile sdk version to 27, and I get an exception when launching this activity now: java.lang.IllegalStateException: Only fullscreen opaque activities can request orientation Since this ...

  • 0

On Last Google IO, Google released a preview of some new arch components, one of which, ViewModel. In the docs google shows one of the possible uses for this component: It is very common that two or more fragments in an activity need ...

  • 0

There is a crash in my app on devices running version 7.0, 7.1.1 and 8.0.0 with the following stacktrace: Fatal Exception: java.lang.RuntimeException: Unable to resume activity {xxx/xxx.views.activities.HomeActivity}: java.lang.IllegalArgumentException at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3788)My code on the reported lines is simply:// HomeActivity class @OverrideI did some digging about this ...

close