Commit 3a1de9fb390abdbe61fcef99376876fa42f10770
1 parent
eaba269f
删除旧版调用
Showing
1 changed file
with
0 additions
and
4 deletions
app/src/main/java/com/cnlive/demo/video/MainActivity.java
| ... | ... | @@ -4,18 +4,14 @@ import android.content.Intent; |
| 4 | 4 | import android.os.Bundle; |
| 5 | 5 | import android.support.v7.app.AppCompatActivity; |
| 6 | 6 | import android.view.View; |
| 7 | -import android.widget.EditText; | |
| 8 | 7 | |
| 9 | 8 | public class MainActivity extends AppCompatActivity implements View.OnClickListener{ |
| 10 | - private EditText editText; | |
| 11 | 9 | |
| 12 | 10 | @Override |
| 13 | 11 | protected void onCreate(Bundle savedInstanceState) { |
| 14 | 12 | super.onCreate(savedInstanceState); |
| 15 | 13 | setContentView(R.layout.activity_main); |
| 16 | - editText = (EditText) findViewById(R.id.activedId); | |
| 17 | 14 | findViewById(R.id.play).setOnClickListener(this); |
| 18 | - findViewById(R.id.playCnlive).setOnClickListener(this); | |
| 19 | 15 | findViewById(R.id.barrageBtn).setOnClickListener(this); |
| 20 | 16 | findViewById(R.id.videoId).setOnClickListener(this); |
| 21 | 17 | } | ... | ... |