Code Monkey home page Code Monkey logo

Comments (2)

gumcstronger avatar gumcstronger commented on May 18, 2024

LoopListView和LoopGridView会重复调用SetItemData。#56 上一次pr注释了一部分逻辑。不会重复调用了,但新的数据个数小于原数据个数时不会触发SetItemData。 这块比较复杂,我这边用fancyscrollview实现了。fancyscrollview和uiwidget不太好做兼容,就不提pr了

你使用UILoopListWidget时有没有遇到GetItem中获取不到数据,我看UILoopListWidget的m_items并没有任何地方调用到,而UIBase中var item = GetItem(preIndex) as IListSelectItem;肯定是null,所以item.SetSelected()永远不会调用到。这是bug么,还是我的使用姿势不对

from tengine.

ALEXTANGXIAO avatar ALEXTANGXIAO commented on May 18, 2024

是bug,GetItem相关问题已修正。重复调用SetItemData问题已标记,有空修复好我会close这个issue。

from tengine.

Related Issues (20)

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.