leavesczy / compose_chat Goto Github PK
View Code? Open in Web Editor NEWJetpack Compose 最佳实践,用 Jetpack Compose 写一个 IM APP
License: Apache License 2.0
Jetpack Compose 最佳实践,用 Jetpack Compose 写一个 IM APP
License: Apache License 2.0
Android 10
Lenovo 小新pad
as 2021.1.1 canary 5
E/NetworkHttpRequest: [29004]HTTP GET 1 IOException urlString :https://pimapi.lenovomm.com/omsapi/v1/uniconfig/client?cvern=6.2.0.88&cvernc=88060236&cpkg=com.zui.cloudservice&chid=zuipreload
java.net.SocketTimeoutException: SSL handshake timed out
at com.android.org.conscrypt.NativeCrypto.SSL_do_handshake(Native Method)
at com.android.org.conscrypt.NativeSsl.doHandshake(NativeSsl.java:387)
at com.android.org.conscrypt.ConscryptFileDescriptorSocket.startHandshake(ConscryptFileDescriptorSocket.java:226)
at org.apache.http.conn.ssl.SSLSocketFactory.createSocket(SSLSocketFactory.java:416)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:170)
at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:170)
at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:124)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:366)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:560)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:492)
at com.lenovo.base.lib.net.HTTPRequest.GET(HTTPRequest.java:258)
at com.lenovo.base.lib.net.IInteraction$Interaction.httpReq_for_layedResponse(IInteraction.java:174)
at com.lenovo.base.lib.net.IInteraction$Interaction.HTTP(IInteraction.java:42)
at com.lenovo.leos.cloud.sync.UIv5.inter.AmsInteraction.amsHTTP(AmsInteraction.java:53)
at com.lenovo.leos.cloud.sync.UIv5.inter.InterOptConfig.fetchRemote(InterOptConfig.kt:52)
at com.lenovo.leos.cloud.sync.UIv5.inter.InterOptConfig.fetch(InterOptConfig.kt:27)
at com.lenovo.leos.cloud.sync.UIv5.V5MainData$fetchOptCfg$1.run(V5MainData.kt:261)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:214)
at android.os.HandlerThread.run(HandlerThread.java:67)
Unable to determine application id: com.android.tools.idea.run.ApkProvisionException: Error loading build artifacts from:
{
"version": 3,
"artifactType": {
"type": "APK",
"kind": "Directory"
},
"applicationId": "github.leavesc.compose_chat",
"variantName": "debug",
"elements": [
{
"type": "SINGLE",
"filters": [],
"attributes": [],
"versionCode": 1,
"versionName": "1.0",
"outputFile": "chat_debug_versionCode_1_versionName_1.0_2021_08_02_16_59_09.apk"
}
],
"elementType": "File"
}
compose有什么学习的好地方吗
请教一个问题,我在自己的项目中采用了和该Demo相同的消息更新方式。
偶尔会出现新消息无法滚动到底部,只能露出一半的问题。猜测可能是allMessage变化时,会触发整个列表的重组,而于此同时滚动到底部的话,几乎和重组同时进行,才会造成这种现象吗。
ComposeComponentRegistrar has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0
Friendship滑动超级卡顿
手机mate50
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.