demoNo

Results 7 comments of demoNo

我也是同样的问题,都是一加3

I haven't limit the scroll items, you should implement viewpager adapter like this. ```Java public class MyAdapter extends InfinitePagerAdapter { private List data; public MyAdapter(List data) { this.data = data;...

```Java if (convertView == null) { //We must create a View: convertView = layoutInflater.inflate(R.layout.item_view, container, false); } final TextView tv = convertView.findViewById(R.id.textView); tv.setText(data.get(position).trim()); ```

```Java if (convertView == null) { //We must create a View: convertView = layoutInflater.inflate(R.layout.item_view, container, false); } convertView.setOnClickListener(...); ```

Sorry to reply late, you should reduce your image size or just compress your image by some util like tinypng.

``` public class TextViewTouchListener implements View.OnTouchListener { Spannable spannable; public TextViewTouchListener(Spannable spannable) { this.spannable = spannable; } @Override public boolean onTouch(View v, MotionEvent event) { int action = event.getAction(); if...