| | |
| | | |
| | | private boolean touchSearchInput = false; |
| | | |
| | | //赚影视豆 |
| | | private Runnable makeGoldCornRunnable; |
| | | |
| | | |
| | | private void initView() { |
| | | fl_advertisement = findViewById(R.id.fl_advertisement); |
| | |
| | | } |
| | | }); |
| | | } |
| | | //挣影视豆 |
| | | makeGoldCornRunnable = GoldCornUtil.makeGoldCorn(getIntent(), et_search_key, null, null, 2, null); |
| | | |
| | | } |
| | | }); |
| | | } |
| | |
| | | Intent intent = new Intent(SearchActivity.this, |
| | | SearchResultActivity.class); |
| | | intent.putExtra("key", key); |
| | | if (getIntent() != null) { |
| | | intent.putExtra("goldcorn", getIntent().getStringExtra("goldcorn")); |
| | | getIntent().removeExtra("goldcorn"); |
| | | } |
| | | startActivity(intent); |
| | | } |
| | | |
| | |
| | | @Override |
| | | protected void onDestroy() { |
| | | super.onDestroy(); |
| | | GoldCornUtil.removeCallbacks(et_search_key, makeGoldCornRunnable); |
| | | |
| | | } |
| | | } |