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

Logging Action Inputs #49

Open
Alton09 opened this issue Oct 19, 2020 · 1 comment
Open

Logging Action Inputs #49

Alton09 opened this issue Oct 19, 2020 · 1 comment
Milestone

Comments

@Alton09
Copy link

Alton09 commented Oct 19, 2020

Feature Request
This library does a great job logging STATE and EVENT updates, making it much easier to debug app issues. One improvement to this can be to log all UI input events that occur. In my apps I typically handle all input from the UI in the ViewModel layer with a single function called processInput. A sealed class type is passed as a parameter to tell the ViewModel what type of UI event occurred. This is also useful for app analytics as it can be handled all in one place.

Potential Solution
One solution to this could be to create an optional open function in the AndroidDataFlow class to log all UI input events that occur. I'm sure there is a better way, but just my initial thought on it.

This is an awesome library! Keep up the great work.

@arnaudgiuliani
Copy link
Collaborator

arnaudgiuliani commented Nov 24, 2020

Interesting, we need to figure out how we could log the action/parameters triggered by the ViewModel

@arnaudgiuliani arnaudgiuliani added this to the 1.1.0 milestone Mar 8, 2021
@arnaudgiuliani arnaudgiuliani changed the title Logging UI Events Logging Action Inputs May 17, 2021
@arnaudgiuliani arnaudgiuliani modified the milestones: 1.1.1, 1.2.0 Feb 1, 2022
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

2 participants