Skip to content

Improve editor view model readability and fun call frequencyΒ #43

@dev-ant

Description

@dev-ant

πŸ”¨ Refactoring Target

  • EditorViewModel.kt activy_editor.xml too

πŸ“ Description

  • Modify var name to clearly mean it's uses readability
  • Separate concern of function `soc
  • Control line number update fun call frequency overhead

βœ… Tasks

  • refactor(editor): add live data var to encapsulate editor view model
  • refactor(editor): separate statement changed fun to except handling and update
  • fix(editor): modify query valid fun to ignore case

🎯 Expected Outcome after Refactoring

  • Clear var name, more extensibility, encapsulate

Metadata

Metadata

Assignees

No one assigned

    Labels

    refactorSuggest improvements or refactoring

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions