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
- Row
- Flutter 강좌
- node.js
- ListTile
- Scaffold
- MainAxisAlignment
- Flutter Example
- Hello World
- CrossAxisAlignment
- Flutter 예제
- Snackbar
- listview
- sqlite
- Flutter 앱 배포
- FutureBuilder
- AppBar
- Cached Image
- Column Widget
- Load Image
- Image.network
- HTTP
- 반석천
- InkWell
- navigator
- WillPopScope
- Flutter Tutorial
- Networking
- flutter
- Row Widget
- ListView.builder
Archives
- Today
- Total
꿈꾸는 시스템 디자이너
Fragment 구현시 context를 구하는 방법 본문
Fragment는 Activity가 아니기 때문에 context를 가지지 않는다.
Fragment 구현시 context를 이용해야 할 경우 getActivity()함수를 이용한다.
http://stackoverflow.com/questions/8215308/using-context-in-fragment
'Development > Android' 카테고리의 다른 글
레이아웃 인플레이션(Layout Inflation)의 이해 (0) | 2013.05.14 |
---|---|
adb를 통한 apk파일 설치 및 삭제 (0) | 2012.10.28 |
FragmentActivity 사용법 (0) | 2012.10.23 |
안드로이드 메니페스트 퍼미션(Android Menifest Permission) 레퍼런스 (0) | 2012.04.09 |
Intent 생성에 필요한 Actions, Categories, Extra Data 참조 정보 (0) | 2012.04.05 |
Comments