helperclass

김형우·2022년 1월 11일
0

android

목록 보기
8/10

1. CateHelperClass.java 생성

1-1. int, String 잡고

1-2. 컨스트럭터 둘다 선택

public CateHelperClass(int image, String title) {
        this.image = image;
        this.title = title;
    }

1-3. 아래에서 Getter

public int getImage() {
        return image;
    }

public String getTitle() {
        return title;
    }

2. CateAdapter.java 생성

2-1.

3. Main_Page.java

profile
The best

0개의 댓글