Code Monkey home page Code Monkey logo

Comments (5)

sec7et avatar sec7et commented on July 24, 2024

TencentImPlugin.getConversationList();中获取的到了conversationResultEntity?.conversationList数组,遍历获得ConversationEntity对象

from fluttertencentimplugin.

JiangJuHong avatar JiangJuHong commented on July 24, 2024

目前此接口直接调用的腾讯云IM SDK接口,暂不清楚内部缓存机制,你可以通过更新后再次调用TencentImPlugin.getConversationList(),经测试,更新后调用 TencentImPlugin.getConversationList() 效果正常。并未出现未刷新问题。

from fluttertencentimplugin.

sec7et avatar sec7et commented on July 24, 2024

目前此接口直接调用的腾讯云IM SDK接口,暂不清楚内部缓存机制,你可以通过更新后再次调用TencentImPlugin.getConversationList(),经测试,更新后调用 TencentImPlugin.getConversationList() 效果正常。并未出现未刷新问题。

尴尬,我的会话列表页面每次进来都会重新刷新,也就是会重新调用TencentImPlugin.getConversationList()接口。而且我尝试了退出登录后再重新登录,甚至关闭App重新运行。均是老头像。

from fluttertencentimplugin.

JiangJuHong avatar JiangJuHong commented on July 24, 2024

请确保更新是否真的成功...

from fluttertencentimplugin.

sec7et avatar sec7et commented on July 24, 2024

请确保更新是否真的成功...

确实更新成功了。我把App卸载了重装,重新登录后,进入聊天会话列表页面,拉取的数据就是新的头像了。

from fluttertencentimplugin.

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.