Ioane Sharvadze

Results 3 comments of Ioane Sharvadze

Probably the cleanest would be if each Activity had to receive Parameters Object (With it's all attributes). Bundle is too vague and unsafe.

@LouisCAD I forgot about SafeArgs at all. I do like your approach, and clearly It's better than plain bundle, since you set parameter without string key. But as I see,...

Yes, unfortunately it does not handle nullability issues. I think the best option is following. ```kotlin class SharedPrefsCurrentUser( val preferences: SharedPreferences ) : CurrentUser { override var userId : Int...