본문 바로가기

2018/034

centos 7 http.conf # # This is the main Apache HTTP server configuration file. It contains the # configuration directives that give the server its instructions. # See for detailed information. # In particular, see # # for a discussion of each configuration directive. # # Do NOT simply read the instructions in here without understanding # what they do. They're here only as hints or reminders. If you are unsure # co.. 2018. 3. 27.
안드로이드 리스트뷰 예제 안드로이드 리스트 뷰 사용법. 리스트뷰를 만들어보다가 생각나서 기본 내용을 만들어 본다.간단한 예로 기본 리스트뷰 다음 각 항목의 클릭리스너를 적용하여항목별로 클릭할 수 있도록 한다. 클래스 정보. 정보를 담을 데이터 변수UserData.java 화면에 보여질 액티비티.MainActivity.javaactivity_main 리스트뷰 등록. 리스트뷰에 보여줄 아답터.UserDataAdapter.java각 항목마다 보여줄 레이아웃 xml 등록. 안드로이드 스튜디오로 프로젝트를 만들면 기본 매인액티비티와 xml생성된다.리스트뷰에 보여줄 데이터 클래스를 하나 만들고 매인액티비티에서 데이터를 생성 한다. UserData.javapublic class UserData { /** * 기본 생성자 */ public U.. 2018. 3. 22.
프레그먼트 생성. 안드로이드 프래그먼트 https://developer.android.com/guide/components/fragments.html?hl=ko 프래그먼트 생성. public static class ExampleFragment extends Fragment {//맴버변수 선언. // 시스템은 프래그먼트를 생성할 때 이것을 호출합니다. 구현하는 구성 요소 중 // 프래그먼트가 일시정지 되거나 중단되었다가 재개되엇을때 유지하고자 하는것을 // 초기화해야 합니다. @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); } // 레이아웃을 그릴때 사용합니다. // 프래그먼트에 맞는 UI를 그릴려면 .. 2018. 3. 9.
안드로이드 필요 라이브러리. 안드로이드 필요 라이브러리. 뷰바인딩.ButterKnife : 안드로이드 뷰 또는 위젯 관리.어노테이션 사용. findViewById 사용안함.홈 : http://jakewharton.github.io/butterknife/깃허브 주소 : https://github.com/JakeWharton/butterknife Glide : 이미지 로딩 라이브러리. http 가능, 이미지 원형 마스크 처리 가능. 등..홈 : https://bumptech.github.io/glide/깃허브 : https://github.com/bumptech/glide AQuery : 통신 라이브러리. ajax callback 사용 비동기 통신 가능. 안드로이드 내 앱 id로 사용가능.깃허브 : https://github.com/a.. 2018. 3. 5.