bytedance / bytedance/scene

Scene 与 Hilt 的集成问题

Open
#73 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
2.5k
Forks
221
PR merge metrics
No merged PRs in 30d

Description

Scene 与 @HiltViewModel 的直接集成可能性,使得可以直接在 Scene 中使用 by viewModels() 并让 Hilt 自动处理 @HiltViewModel。现在是维护一个 ViewModelFactoryEntryPoint 接口,为所有需要手动工厂的 ViewModel 在此接口中添加获取方法

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the existing ViewModelFactoryEntryPoint integration and how Scene exposes ViewModel access. Compare that path with Android's @HiltViewModel and by viewModels() requirements. Done means Scene can use by viewModels() with Hilt-managed @HiltViewModel instances without adding per-ViewModel factory getters.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.