Twitter | Search | |
Rafał Kuźmiński
20
Tweets
21
Following
0
Followers
Tweets
Rafał Kuźmiński Jul 30
Replying to @donnfelker
Good architecure is a key. We are using something like ViewState from Kaushik's example and it works great in 95 % of time. 5 crucial % can be written in espresso, but we would run it only on CI
Reply Retweet Like
Rafał Kuźmiński Jul 17
Replying to @marcinmoskala
Well I really ment "sometimes", not as daily routine. They are slower which is good point, but if you have tests then "easy to miss" shouldn't be a problem. If i already have to use try catch for whatever reason then I might consider keeping it simple for null check
Reply Retweet Like
Rafał Kuźmiński Jul 16
Replying to @marcinmoskala
Sometimes its fast and easy way to notify that something (and you don't care what) went wrong in try catch. For example when your function fetches data from web, and will return Success or Failure sealed class
Reply Retweet Like
Rafał Kuźmiński Jun 27
Replying to @JakeWharton
I hope in stable version something will change, because now, even on machine with overclocked Intel i9, android studio 3.5 is freezing when typing:( specially if you have some compilation error.
Reply Retweet Like
Rafał Kuźmiński Jun 18
Replying to @kaushikgopal
In my company we use architecure that u described on fragmented podcast, but it is implemented purely by coroutines and live data. I love rx, but it was great to let it go. Debugging and reading rx code sucks sometimes.
Reply Retweet Like
Rafał Kuźmiński Mar 23
Hi! About your architecture, how do you deal with view changes, which you want to animate? For example you want to expand some View with animation, so you can create ViewEffect for it, but also you want to persist "expanded" in ViewState after orientation change.
Reply Retweet Like
Rafał Kuźmiński Mar 16
Replying to @ianhlake
Hi Ian! I saw some commits about Fragments with constructors. It was something about FragmentFactory similiar to ViewModelFactory. Is this possible to test it now? Or is there a place where I could read more about it?
Reply Retweet Like
Rafał Kuźmiński Mar 10
Replying to @ianhlake
Thank you for all answers. Now I am convinced that navigation component will be in my next project
Reply Retweet Like
Rafał Kuźmiński Mar 10
Replying to @ianhlake
How should we manage view model lifecycle if we would have single acitivity application?
Reply Retweet Like
Rafał Kuźmiński Mar 10
Replying to @ianhlake
Is there a way to load fragment lazily? For example if I have a hidden view which I want to show after button click, and that view contains navigation graph, then even if user will never see view, navigation will create Home fragment for that graph
Reply Retweet Like
Rafał Kuźmiński Mar 9
Replying to @ianhlake
Is Navigstion component supporting Shared element transisions betweet fragments?
Reply Retweet Like
Rafał Kuźmiński Mar 7
Replying to @bhavyankaria @kotlin
You can also do it with val size:Int get() = list.size
Reply Retweet Like
Rafał Kuźmiński Mar 7
Well you are right, that sounds like a good approach. I also wanted to ask about things like PagedLists for pagination in android. Would you put those into viewstate or create other way to deliver it to recycler view?
Reply Retweet Like
Rafał Kuźmiński Mar 7
So in your tests for view model you are testing viewstate and view effects? Isn't that a problem, because whenever you want to change anything in view, you have to change view model logic tests as well
Reply Retweet Like
Rafał Kuźmiński Feb 27
Replying to @donnfelker
We should be thanking you! I specially want to thank for fragmented. Keep going!
Reply Retweet Like
Rafał Kuźmiński Feb 20
Hi! About your architecture from 148 and 151, in your tests, you check if for some input ViewState is correct, or do you check if Lce<Result> is correct? Which is better, and why?
Reply Retweet Like
Rafał Kuźmiński Jan 18
Replying to @kotlinconf
Chicago
Reply Retweet Like
Rafał Kuźmiński 24 Feb 18
Hello Kaushik, your presentations about RxJava really pushed me to learn it, but now i have a few specific questions, about some situations. Is there another way to contact you like e-mail, because twitter doesn't allow long messages ;) Have a good day
Reply Retweet Like
Rafał Kuźmiński 26 Nov 17
Hello guys! Great podcast. I have a question. Do you think Room in available version is good enough to use it in production? Is there a way to create queries dynamically? I couldn't find any :( . Thanks for answer and again, great podcast!
Reply Retweet Like
Rafał Kuźmiński 17 Nov 17
Hi! I have a junior android dev question. On podcast you speak a lot about effective Java book. Is it worth reading if I want to focus on Kotlin?
Reply Retweet Like