Skip to content

Some Changes [ViewModel Actions]#3

Open
mohannadahmed00 wants to merge 3 commits intophilipplackner:masterfrom
mohannadahmed00:master
Open

Some Changes [ViewModel Actions]#3
mohannadahmed00 wants to merge 3 commits intophilipplackner:masterfrom
mohannadahmed00:master

Conversation

@mohannadahmed00
Copy link

Actions of any screen are an interface implemented by ViewModel, and this ViewModel is passed as a (ScreenActions). This will help me to get access to just the functions in ViewModel that the screen needs (which is defined in the actions interface) without needing to loop on all actions with (when expression).

asuras-coding added a commit to asuras-coding/CryptoTracker that referenced this pull request Oct 31, 2024
asuras-coding added a commit to asuras-coding/CryptoTracker that referenced this pull request Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant