Git Product home page Git Product logo

orient-ui's Issues

设置点击事件不触发。

设置点击事件不触发。

    this.mAdapter.setAdapterListener(new BaseAdapter.AdapterListener<TableCell>() {
        @Override
        public void onItemClick(BaseAdapter.ViewHolder<TableCell> holder, TableCell tableCell) {
            Toast.makeText(getContext(), tableCell.getName()+"|"+tableCell.getValue(), Toast.LENGTH_SHORT).show();
        }

        @Override
        public void onItemLongClick(BaseAdapter.ViewHolder<TableCell> holder, TableCell tableCell) {
            Toast.makeText(getContext(), tableCell.getName()+"|"+tableCell.getValue(), Toast.LENGTH_SHORT).show();

        }
    });

MODE_A的模式

横纵的条目书和这个模式设置的权重比例有什么关系 ,我这边设置mTable.setModeAndValue(TableLayoutManager.MODE_A, 6, 8)
横纵条目书多的话就不能滑动了

时间轴的timeline方法会一直调用,影响响应速度

2022-01-28 15:53:38.597 6108-6108/com.orient.ui E/TimeLine: onDraw
2022-01-28 15:53:38.602 6108-6108/com.orient.ui E/TimeLine: width=1280
2022-01-28 15:53:38.602 6108-6108/com.orient.ui E/TimeLine: height=590
2022-01-28 15:53:38.602 6108-6108/com.orient.ui E/TimeLine: onDraw
2022-01-28 15:53:38.614 6108-6108/com.orient.ui E/TimeLine: width=1280
2022-01-28 15:53:38.615 6108-6108/com.orient.ui E/TimeLine: height=590
2022-01-28 15:53:38.615 6108-6108/com.orient.ui E/TimeLine: onDraw
2022-01-28 15:53:38.619 6108-6108/com.orient.ui E/TimeLine: width=1280
2022-01-28 15:53:38.620 6108-6108/com.orient.ui E/TimeLine: height=590
2022-01-28 15:53:38.620 6108-6108/com.orient.ui E/TimeLine: onDraw
2022-01-28 15:53:38.632 6108-6108/com.orient.ui E/TimeLine: width=1280
2022-01-28 15:53:38.632 6108-6108/com.orient.ui E/TimeLine: height=590
2022-01-28 15:53:38.632 6108-6108/com.orient.ui E/TimeLine: onDraw

左右滑动经常会滑不了

垂直滑动没有问题,横向滑动经常无法滑动,经过不断测试发现,星期四的第四节课这个空白位置有90%以上的几率会出现无法滑动,没有进入move这个事件。还有极低的概率这个位置横向滑动会变成垂直滚动事件。

item点击事件没有回调回来

mAdapter.setAdapterListener(new BaseAdapter.AdapterListener() {
@OverRide
public void onItemClick(BaseAdapter.ViewHolder holder, TableCell tableCell) {
Log.e("HHHH", "onItemClick: 单击");
}

        @Override
        public void onItemLongClick(BaseAdapter.ViewHolder<TableCell> holder, TableCell tableCell) {
            Log.e("HHHH", "onItemClick: 长按");
        }
    });

设置后无响应

GridItem

在我添加GridItem类型的数据的时候,如果某个类别不需要标题的话,标题模块如何取消?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.