I’ve a problem, i’ve been setting up my projet for 2 week now, and I’m stuck to the mutableState for handling the retrofit response, it says me "Type mismatch: inferred type is Response<List> but List was expected". How Can I do that with jetpack compose and mutableState. Thank you !!! Source: Android..
I work in the power industry and we use written procedures for everything from removing old equipment and installing, testing, commissioning new equipment to opening/closing high voltage breakers. All of these testing forms, commissioning forms etc are all in physical paper copies. Most can be found within the online application BOX but often new procedures ..

I am trying to work with an API and at this time unable to build the MainActivity.kt without finding errors. Anyone see anything at this point? I am very new to programing and working with Android and Kotlin. Source: Android..
I have an issue with react native video player, in debug mode the video is showed correctly, but when I release the release app the video player is crashed. (react-native run-android –variant=release) and I don’t know why… Can you help me please? Thank you all Source: Android..

I want to build android library as AAR file that includes dependencies in output AAR file. It uses another AAR file as dependency from libs folder. Building library shows this error: Direct local .aar file dependencies are not supported when building an AAR. The resulting AAR would be broken because the classes and Android resources ..
I have multiple(4) vertical recycler views which are wrapped up in a constraint layout. The constraint layout is wrapped up in a scroll view. The problem is when items are added to one of the recycler views(let’s say first one), the screen does not scroll to the text views and recycler views below it. It ..
I am trying to get screen recording work from a foreground service, with media recorder calling this method: @RequiresApi(api = Build.VERSION_CODES.LOLLIPOP) private void startRecording(int resultCode, Intent data) { Log.v(TAG, "Starting recording…"); MediaProjectionManager mProjectionManager = (MediaProjectionManager) getApplicationContext().getSystemService (Context.MEDIA_PROJECTION_SERVICE); mMediaRecorder = new MediaRecorder(); mMediaRecorder.setOnErrorListener(this::onRecorderError); mMediaRecorder.setOnInfoListener(this::onRecorderInfo); DisplayMetrics metrics = new DisplayMetrics(); WindowManager wm = (WindowManager) getApplicationContext().getSystemService(WINDOW_SERVICE); wm.getDefaultDisplay().getRealMetrics(metrics); int ..
I have a bottom navigation bar, with 4 fragments. To handle the back button press I added those fragments to the backstack, and it works fine, however the item selected on the bottom navigation does not correspond to the fragment selected. I tried to override the onBackPress() but since the button press happens before the ..
the images on my app are dark a little bit, is there any way to make them appear glossy and shining without editing them in photoshop, I notice some applications like Netflix there images are bright, can we do that with a code? Source: Android..
guys, need some advice here. i have two entities @Entity( tableName = ShopEntityContracts.TABLE_NAME, foreignKeys = [ ForeignKey( entity = Address::class, parentColumns = [AddressContracts.Columns.ADDRESS_ID], childColumns = [ShopEntityContracts.Columns.SHOP_ADDRESS])]) data class Shop( @PrimaryKey(autoGenerate = true) @ColumnInfo(name = ShopEntityContracts.Columns.SHOP_ID) val shopId: Long, @ColumnInfo(name = ShopEntityContracts.Columns.SHOP_NAME) val shopName: String, @ColumnInfo(name = ShopEntityContracts.Columns.SHOP_ADDRESS) val shopAddress: Long) @Entity(tableName = AddressContracts.ADDRESS_TABLE_NAME, indices = ..
Recent Comments