Page 386 - MDP2020-1
P. 386

|    인천전자마이스터고등학교  ·············································································································
            380

            testInstrumentationRunner  "androidx.test.runner.AndroidJUnitRunner"
            }


            buildTypes  {

            release  {
            minifyEnabled  false
            proguardFiles                        getDefaultProguardFile('proguard-android-optimize.txt'),
            'proguard-rules.pro'

            }
            }
            }


            dependencies  {
            implementation  fileTree(dir:  "libs",  include:  ["*.jar"])

            implementation  'androidx.appcompat:appcompat:1.2.0'
            implementation  'androidx.constraintlayout:constraintlayout:1.1.3'
            implementation  'androidx.recyclerview:recyclerview:1.1.0'
            implementation  'androidx.cardview:cardview:1.0.0'

            implementation  'com.android.volley:volley:1.1.1'
            testImplementation  'junit:junit:4.12'
            androidTestImplementation  'androidx.test.ext:junit:1.1.1'
            androidTestImplementation  'androidx.test.espresso:espresso-core:3.2.0'


            }





            MainActivity                    //시작
            package  com.example.s_mart;
            import  androidx.annotation.RequiresApi;

            import  androidx.appcompat.app.AppCompatActivity;


            import  android.content.Intent;
            import  android.os.Build;
            import  android.os.Bundle;

            import  android.view.View;


            public  class  MainActivity  extends  AppCompatActivity  {


            @Override

            protected  void  onCreate(Bundle  savedInstanceState)  {
            super.onCreate(savedInstanceState);
   381   382   383   384   385   386   387   388   389   390   391