79405745

Date: 2025-02-01 22:08:17
Score: 1
Natty:
Report link

u can use the !! instead if u want the program to throw null and only forces non null value

@Composable
fun MyComposeUI(camera: USBCamera?) {
    Button(onClick = { camera!!.setGain(10) }) {}    
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: MohiEddine