AndroidDeveloperLB

Results 603 comments of AndroidDeveloperLB

@marcbaechinger But as I wrote, the demo doesn't demonstrate playing right away, like what I need to do. It's also very complex and what I demonstrate is simply playing from...

@Miha-x64 When you create a new project, don't you see them? I can see this line when using it, if that helps: ``` import androidx.core.view.isVisible ```

I don't know of any other examples. I just noticed them, so I thought I should use them instead, as it looks nicer :)

@eakteam It works with normal modules, but sadly on AAR library module I failed to work with it and sadly the developers there even locked the conversation: https://github.com/MichaelRocks/paranoid/issues/68#issuecomment-1436049413

I suggest you to report it here, including a video of what you do: https://issuetracker.google.com/issues/

@Miha-x64 Hopefully someone could offer it. For now I've also requested this on the issue tracker: https://issuetracker.google.com/issues/244694784

You can easily convert it to Java. Here: ``` public static boolean isNotificationServiceEnabled(Context context ){ return NotificationManagerCompat.getEnabledListenerPackages(context).contains(context.getPackageName()); } ```

It's an official API , which was available for a long time: https://developer.android.com/reference/android/support/v4/app/NotificationManagerCompat#getenabledlistenerpackages