Category "android"

Unhandled error LateInitializationError: Field 'currentUser' has not been initialized. occurred in Instance of 'HomeBloc'

so i do get this error : Unhandled Exception: Unhandled error LateInitializationError: Field 'currentUser' has not been initialized. occurred in Instance of 'Ho

Android: How to change the control type for Accessibility

There are some controls in our app which we'd like to update the control type read out by Talkback. For example: A TextView which would better be described as

org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.lambda$executeIfValid$

I am getting runtime exception while building the project. I have added Jetpack compose dependencies extra to the build.gradle file. I could see the following e

How to prevent onDismiss Callback to be call, in custom AlertDialog with Jetpack Compose

I was developing an app which I use Jetpack compose to define the UI. I was implementing some localdatabase such as Room, and I try to implement the remove oper

Using EdittextPreference for Goto search

sorry for my poor English. I want to use EditTextPreference in my bottom nav like the pic below, ![screenshot][1] I have recycleview xml in my project with in m

Image Slider working under activity but unrecognized in fragment

<com.smarteist.autoimageslider.SliderView android:id="@+id/imageSlider" android:layout_width="match_parent" android:layout_height="300dp" app

Is it possible to use Google drive for shareable data in android apps?

I want to create a simple shareable shoppinglist android app and I wonder, if there's a possibility to use Google drive as "db". Technically it should work righ

Divide screen to two halves with a title for each and center a view inside each one that will shrink or expand to fill the space

I'm trying to create this kind of layout in android. I'm using constraint layout. I want to divide the screen with height y to two halves with y/2 height each.

Firebase Android FCM INVALID_SENDER when trying to get token

I created a google-services.json file and added to my android project but when I tried to get a token I received this exception: { Java.IO.IOException: java.uti

How to make content center of horizontally equally divided views in ConstraintLayout android

I need to divide 3 views equally horizontally and the content of the views to be centered. I tried using the link: https://medium.com/@nomanr/constraintlayout-c

Xamarin - Shell.Current.GoToAsync($"//...") performance too slow on Android

I have a Xamarin project and I'm using visual studio 2019. I consume an API to access data and for my LoginPage flow I used routing in shell. So here is my AppS

Image View doesn't match parent's rounded cornered background

<FrameLayout android:id="@+id/flTodayTraining" android:layout_width="match_parent" android:layout

get position item from a multiple json array

Hi i'm beginner of android and I have a big problem. I have this JSON file: {"People": [{"boy":{"name":"Jack","id":"11"}}, {"girl":{"name":"Rose","id":"22"}]}

Hide RecyclerView until List is sorted

When my RecyclerView loads it shows the unsorted list for a few milliseconds and then switches to the sorted list. Here is a video what it looks like: https://d

Gradle build sync failed. Basic functionality (e.g. Editing Debugging) will not work properly

Error screenShot `plugins { id 'com.android.application' } android { compileSdk 31 defaultConfig { applicationId "com.example.helloworld" minSdk 16

Android- studio error - Cause: unable to find valid certification path to requested target

I got this error on Android Studio while attempting to sync gradle. Cause: unable to find valid certification path to requested target What I have attempted so

Could not resolve com.squareup.moshi:moshi-kotlin:1.13.0

Getting this error and unable to build Gradle file. Android Studio Version : Bumblebee Latest Patch Gradle Plugin Version : 7.1.2 Gradle Version : 7.2 I already

error while loading shared libraries: libpulse.so.0: cannot open shared object file: No such file or directory

I am trying to run an Android emulator in a Docker container. /opt/android-sdk/emulator/emulator -avd "Android_API_29" -noaudio -no-boot-anim -netdelay none -ac

how to build libxml2 for Android NDK

I try to compile libxml2 for android ndk but I get this error: libxml2-2.9.8/include/libxml/encoding.h:28:19: fatal error: iconv.h: No such file or directory Y

different between call view by name or use binding in android

i'am a newest in android kotlin I want to know what is the difference between the two lines of code below and which one is better to use class MainActivity : Ap