코틀린에서 seed값을 정해주지 않으면 나노계산을 하기때문에, 정해야한다.
중복을 하지 않게하려면 map은 안되고 list나 set을 이용해서, 넣어준다
list는 contains함수롤 이용해 중복여부를 체크해야하나, set은 바로 알아서 체크해준다.
apply함수는 아래처럼 초기화할때 많이사용
val list = mutableListOf().apply
numberPicker - 숫자 선택도구
constraint 레이아웃
top, bottom, left(=start), right(=end)
numberPicker의 숫자 범위를 설정하기 위해 생성 후, oncreate함수안에 최소, 최대값 설정
private val numberPicker: NumberPicker by lazy {
      findViewById<NumberPicker>(R.id.numberPicker)
  }
super.onCreate(savedInstanceState)
      setContentView(R.layout.activity_main)
      numberPicker.minValue = 1
      numberPicker.maxValue = 45
  }
avd상에서는 표시를 안하기위해 android:visibility="gone"
xml을 편집할때는 tools:visibility="visible"
drawble을 가져오는 것은 Context에서 가져와야함
ContextCompat.getDrawable()