[Android] getContext()와 requireContext()의 차이 by 김슬기 about Android
- @NonNull public final Context requireContext () { Context context = getContext (); if ( context == null ) { throw new IllegalStateException ( "Fragment " + this + " not attached to a context
- getContext() 는 context가 호스트에 붙어있지 않을 때 Null을 반환한다
- requireContext() 는 getContext()에서 반환된 context가 Null인 경우 IllegalStateException를 throw한다
좋은 개발자는 어떻게 구할까? by 김수보
- "함께 일을 해봐서 좋은 개발자라고 남에게 소개할 수 있는 사람
- (1) 아직 뭘 만들지 모르지만 좋은 개발자를 만나면 해결될거다
- (2) 좋은 개발자를 만나면 무슨 이야기를 해도 다 만들어줄거야
Spring Boot Excel 업로드 라이브러리 개발기 by 김은수 about Spring Boot,Spring
- getMetaModel(tClass)) : new SAXReader<>(tClass); } public
Reader createInstance(Class tClass){ final ExcelBody entity = tClass - column = @ExcelColumn(headerName = "수정일자")) }) public class Person extends BaseAuditEntity{ @ExcelColumn(headerName = "이름") @NotNull private String name; @Merge(headerName = "전화번호") @ExcelColumnOverrides(@ExcelColumnOverride(headerName = "집전화번호"
- index = 4))) private Phone phone; @ExcelEmbedded private Address address; @ExcelColumn(headerName = "생성일자") @DateTimeFormat(pattern = "yyyyMMdd") private LocalDate createdAt; @ExcelColumn(headerName = "성별") @ExcelConvert(converter = GenderConverter