我发现安乐器的关键组成部分是一点点混淆,因此我为我写了一张图表。 但我不清楚我是否正确。 (如果我记住错误的东西正确的话,那将是灾难性的。) 因此,我已决定在Stack Overflow上提出一个问题,以便检查。
item | ____ground | runtime reg? | 1 to ? ----------------------------------------------------------------------------------- activity | foreground | no | 1 (multiple candidates for implicit, finally still 1) ----------------------------------------------------------------------------------- service | background | no | 1 (multiple candidates for implicit, finally still 1) ----------------------------------------------------------------------------------- broadcast | background | yes | all (may not reach all if aborted for ordered)