diff --git a/students/soft1714080902414/app/src/main/java/edu/hzuapps/androidlabs/soft1714080902414/resourceActivity.java b/students/soft1714080902414/app/src/main/java/edu/hzuapps/androidlabs/soft1714080902414/resourceActivity.java deleted file mode 100644 index fa3de4281..000000000 --- a/students/soft1714080902414/app/src/main/java/edu/hzuapps/androidlabs/soft1714080902414/resourceActivity.java +++ /dev/null @@ -1,29 +0,0 @@ -package edu.hzuapps.androidlabs.soft1714080902414; - -import android.content.Intent; -import android.support.v7.app.AppCompatActivity; -import android.os.Bundle; -import android.view.View; -import android.widget.Button; - -public class ResourceActivity extends AppCompatActivity implements View.OnClickListener{ - - private Button button; - @Override - protected void onCreate(Bundle savedInstanceState) { - super.onCreate(savedInstanceState); - setContentView(R.layout.activity_resource); - button= findViewById(R.id.but); - button.setOnClickListener(this); - } - @Override - public void onClick(View v) { - if (!ConnectionNetwork.isConn(getApplicationContext())) { - ConnectionNetwork.setNetworkMethod(ResourceActivity.this); - } - else{Intent intent =new Intent(ResourceActivity.this, WordtestActivity.class); - startActivity(intent);} - - } - - }