skip to Main Content

Android Studio – Unsupported [References to variables aren't supported yet] in android jetpack compose

I want to use reference operator like onClick = ::onClose in below code @Composable fun HeaderIcons(onClose: () -> Unit) { ConstraintLayout( modifier = Modifier .fillMaxWidth() .wrapContentHeight() ) { IconButton( onClick = (::onClose)() ) { Image(imageVector = ImageVector.vectorResource(id = R.drawable.ic_close), contentDescription…

VIEW QUESTION

Slow rendering of image in react Native

Image is downloaded , but still rendering very slowly, anyone knows what can be happening? enter image description here here is my code: import React from 'react' import { StyleSheet, Image, Text, View } from 'react-native' import Backgroundimage from '../../../assets/images/backgroundImage.jpg'…

VIEW QUESTION
Back To Top
Search