스크롤 가능한 목록 표시

  1. Before running the below code, simpleList should be initialized as a ___ list.

    println(simpleList)
    simpleList.add(-5)
    simpleList.remove(4)
    println(simpleList)
    
  2. Which of the following statements are valid?

    적절한 답변을 모두 선택합니다.

  3. Why does a RecyclerView need an Adapter?

  4. Which of the following are advantages to using RecyclerView?

    적절한 답변을 모두 선택합니다.

  5. Which of the following is true about packages?

    적절한 답변을 모두 선택합니다.

  6. What should you do to ensure that the correct type of resource ID is passed in to a constructor?

  7. 빈 칸 채우기

    단어를 하나 이상 입력하여 문장을 완성하세요.

    In the below code, ___ should be written in the for loop, so that the output returned is the list of numbers 1 through 3, with each number printed on a new line.

    val numbers = listOf(1, 2, 3)
    for (_______) {
      println(num)
    }