-
-
Notifications
You must be signed in to change notification settings - Fork 226
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation avatars #2712
Conversation avatars #2712
Conversation
/rebase |
1c74506
to
71f3227
Compare
This comment was marked as outdated.
This comment was marked as outdated.
4cce6ca
to
e9d434b
Compare
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
e9d434b
to
7e98bfd
Compare
/rebase |
7e98bfd
to
b2b4474
Compare
b2b4474
to
21079af
Compare
e9377b3
to
de90120
Compare
de90120
to
0c18761
Compare
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
also disable placeholder (otherwise it's flickering on every load) Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
β¦ from cache Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
this seems to avoid that on a second load without to use replace, an old image from cache is loaded Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
this looks smoother when loading the avatars (less flickering) "error" and "fallback" take over if something goes wrong. Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
otherwise: E FATAL EXCEPTION: main Process: com.nextcloud.talk2, PID: 13169 io.reactivex.exceptions.UndeliverableException: The exception could not be delivered to the consumer because it has already canceled/disposed the flow or the exception has nowhere to go to begin with. Further reading: https://github.com/ReactiveX/RxJava/wiki/What's-different-in-2.0#error-handling | kotlin.UninitializedPropertyAccessException: lateinit property optionsMenu has not been initialized at io.reactivex.plugins.RxJavaPlugins.onError(RxJavaPlugins.java:367) at io.reactivex.android.schedulers.HandlerScheduler$ScheduledRunnable.run(HandlerScheduler.java:126) at android.os.Handler.handleCallback(Handler.java:942) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loopOnce(Looper.java:226) at android.os.Looper.loop(Looper.java:313) at android.app.ActivityThread.main(ActivityThread.java:8757) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067) Caused by: kotlin.UninitializedPropertyAccessException: lateinit property optionsMenu has not been initialized at com.nextcloud.talk.conversation.info.ConversationInfoActivity.showOptionsMenu(ConversationInfoActivity.kt:214) at com.nextcloud.talk.conversation.info.ConversationInfoActivity$fetchRoomInfo$1.onNext(ConversationInfoActivity.kt:670) at com.nextcloud.talk.conversation.info.ConversationInfoActivity$fetchRoomInfo$1.onNext(ConversationInfoActivity.kt:652) at io.reactivex.internal.operators.observable.ObservableObserveOn$ObserveOnObserver.drainNormal(ObservableObserveOn.java:201) at io.reactivex.internal.operators.observable.ObservableObserveOn$ObserveOnObserver.run(ObservableObserveOn.java:255) at io.reactivex.android.schedulers.HandlerScheduler$ScheduledRunnable.run(HandlerScheduler.java:124) at android.os.Handler.handleCallback(Handler.java:942)Β at android.os.Handler.dispatchMessage(Handler.java:99)Β at android.os.Looper.loopOnce(Looper.java:226)Β at android.os.Looper.loop(Looper.java:313)Β at android.app.ActivityThread.main(ActivityThread.java:8757)Β at java.lang.reflect.Method.invoke(Native Method)Β at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)Β at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067)Β Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
β¦loading, else use from cache Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
to use same design as for conversation info editing Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
β¦ickering Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
in the future, avatarVersion might be available for user avatars as well.. Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
only show users avatars. conversation avatars were removed again for now, because this would need more work to add custom view to the supportActionBar in order to show themed drawables. Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
3ffd801
to
1301d62
Compare
@AndyScherzinger works fine for me on NC 25. Otherwise i changed some things again, so please test/review again if you like to. |
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
@mahibi I meant Nc26, but works fine now π Code looks good - feel free to merge π |
APK file: https://www.kaminsky.me/nc-dev/android-artifacts/2712-talk.apk |
resolve #2555, #1024
πΌοΈ Screenshot + Video
conversationAvatarExample.mp4
π Checklist
/backport to stable-xx.x