Paul Woitaschek

Results 195 comments of Paul Woitaschek

Thanks for the great podcast! If you are looking for a non trivial open source example you can have a look at my audiobook player: https://github.com/PaulWoitaschek/MaterialAudiobookPlayer

The benefit is that it's clear what will be returned. As .request returns an Observable I assumed that there is an update whenever that permission is granted. I'd make a...

@iznogoud-zz Were you able to work around this in the meantime?

Yes I know. This was a real world bug where I think it would be great if it would not have complied in the first place.

I want to emit a `null` when my string is null: ```kotlin package my.something.t import com.squareup.kotlinpoet.* fun main() { val builder = TypeSpec.enumBuilder("Sample") .primaryConstructor( FunSpec.constructorBuilder() .addParameter( ParameterSpec.builder( "myNullableString", String::class.asTypeName().copy(nullable =...

I was injecting a suspending function through the constructor. A workaround is to declare a regular interface with an `invoke` function and pass a method reference to the object under...

@kdotdi See my post which shows an example for that.

@p1415604x doesn't my workaround work?

Instead of taking notes I suggest to submit a PR instead of complaing 😊