What is different between @+id/android:list and @id/android:list?

前端 未结 4 2112
别跟我提以往
别跟我提以往 2020-12-16 23:26

I\'ve develop android application, and one question.

As you know, When we use LiveActivity, we must specify @id/android:list for ListView ID.

But, When I us

4条回答
  •  春和景丽
    2020-12-16 23:43

    The fundamental difference between @ and @+ is that @+ is signaling that you need to add a new id, the @ by itself tells the compiler to look for an existing id.

提交回复
热议问题