Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- remove_if
- 과제
- 소켓 프로그래밍
- 함수객체
- 이진트리
- BST
- operator==
- list
- 상속
- 연산자오버로딩
- 채팅프로그램
- bind
- placeholder
- 난수중복제거
- GitHub
- 클라이언트
- 노드
- 튜토리얼
- 과제5차
- 네트워크 프로그래밍
- c2678
- 멀티스레드
- 이진노드
- 에러
- greater
- Git
- C++
- 동빈나참고
- 이진순회트리
- 자료구조
Archives
- Today
- Total
강아지를 좋아하는 컴공생
[Error] Expecting member declaration - Kotlin / Android 본문
함수 안에 넣어줘야한다고 한다. <- 이유 아직 모름
onCreate함수 안에 넣었더니 잘 됨.
Expecting member declaration even though the val is declared the line above
I looked at all of the other questions about this error, but none of them helped. I am trying to create a reference to a button in my layout file, and when I set the onClickListener, I get "
stackoverflow.com