Gabor Varadi

Results 380 comments of Gabor Varadi

Personal opinion, but while we use `bundleOf("x" to y)` at work, I've never liked it. You can't be sure how exactly it builds the Bundle, and what getter you have...

@Ioane5 You're actually correct, you can use a `@Parcelize data class`

Actually, the tricky part is that you need to set the LinkMovementMethod on the TextView for it to work for some reason.

I honestly think `bundleOf` in general is a mistake. Sure it auto-resolves the `put*` part, but now how do I know which one it defaulted to when I want to...

Not really, this has many unnecessary `!!`s and is missing `const val` and has `m` prefixes despite being discouraged by Kotlin style guidelines.

The fragments are necessary, the activities aren't.

Ah, I figured it'd be added because the commends talk about a BackHandler and a snapshot api If it's out of scope due to WIP status then so it is

Actually, same thing happens on my pixel. ``` 2020-05-04 09:20:29.334 30664-30664/com.example.helloworkflow E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.helloworkflow, PID: 30664 java.lang.SecurityException: Permission Denial: opening provider com.android.providers.calendar.CalendarProvider2 from ProcessRecord{71045b5 30664:com.example.helloworkflow/u0a297} (pid=30664, uid=10297)...

Anyways, I ended up enabling permission manually on my Pixel so I could check out what's up. Runtime permissions would resolve this. :wink:

you need to register to the bus to make the `@Subscribe` annotated methods be called