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
- Hello World
- Networking
- Scaffold
- listview
- 반석천
- CrossAxisAlignment
- Row
- Cached Image
- ListTile
- Load Image
- InkWell
- Row Widget
- Flutter Example
- Flutter Tutorial
- Snackbar
- navigator
- WillPopScope
- Flutter 강좌
- Image.network
- flutter
- sqlite
- Column Widget
- node.js
- FutureBuilder
- ListView.builder
- AppBar
- Flutter 예제
- HTTP
- Flutter 앱 배포
- MainAxisAlignment
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