RedApparat / Fotoapparat

Making Camera for Android more friendly. 📸
Apache License 2.0
3.81k stars 405 forks source link

Suggestion: Kotlin Configuration Wiki improvement #368

Open lemberh opened 5 years ago

lemberh commented 5 years ago

I would suggest adding in Kotlin configuration Wiki section about how to select the custom resolution because it wasn't clear for me. Something like that:

CameraConfiguration(
        ........
        pictureResolution = {
            filter { it.width in 1280..1920 }.minBy { it.area } // select custom resolution from available
        },
        ......
    )