Skip to content

Conversation

@mfazekas
Copy link
Collaborator

Summary

  • Adds properties array to ViewModel and ViewModelInstance for runtime introspection
  • New types: ViewModelPropertyType and ViewModelPropertyInfo
  • Includes PropertyInspector example for debugging

Android Limitation

  • ViewModel.properties works on both platforms
  • ViewModelInstance.properties returns empty array on Android (SDK doesn't expose this publicly)

Adds `properties` array to both ViewModel and ViewModelInstance for runtime introspection of available properties with their names and types.

New types:
- ViewModelPropertyType: union of all property types
- ViewModelPropertyInfo: { name, type } metadata

Includes PropertyInspector example for debugging.
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.

2 participants