mirror of
https://github.com/2dust/v2rayNG.git
synced 2026-10-29 06:31:54 +00:00
- Create BaseViewModel to encapsulate common UI state (isLoading) and logic (toasts, finishing activity). - Implement ViewModelEvent and BaseViewModelEvent for standardized UI communication via SideEffects. - Move core business logic (I/O, Zip, WebDAV) from BackupActivity to BackupViewModel. - Standardize code naming conventions and update documentation to English. - Improve Activity purity by delegating state management and background tasks to the ViewModel.