Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write DSL for saving/restoring mutable properties' values #3

Closed
Miha-x64 opened this issue Jan 9, 2018 · 2 comments
Closed

Write DSL for saving/restoring mutable properties' values #3

Miha-x64 opened this issue Jan 9, 2018 · 2 comments

Comments

@Miha-x64
Copy link
Owner

Miha-x64 commented Jan 9, 2018

e. g.

val smth: Whatever.() -> Unit = {
    +someStringProp
    +someIntProp
    +someParcelableProp // (?)
}

toParcel(smth)
fromParcel(smth)
toByteArray(smth)
toByteArray(smth)

Persistent ViewModels may be very useful.

@Miha-x64
Copy link
Owner Author

Miha-x64 commented Feb 8, 2018

Should remove useless Byte and Short bindings.
And, on the other hand, should add some bindings for nullable properties.

@Miha-x64 Miha-x64 reopened this Feb 8, 2018
@Miha-x64
Copy link
Owner Author

Miha-x64 commented Feb 8, 2018

Looks like we don't need nullable values since users can't write nullable texts in fields.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant