乐乐音乐Kotlin版

简介

乐乐音乐Kotlin版,主要是基于ExoPlayer框架开发的Android音乐播放器,它支持lrc歌词和动感歌词(ksc歌词、krc歌词、trc歌词、zrce歌词和hrc歌词等)、多种格式歌词转换器及制作动感歌词、翻译歌词和音译歌词。

编译环境

Android Studio Jellyfish | 2023.3.1 Canary 1

kotlin

jetpack-compose

节点服务器

gitee、gitea和gitcode,后续需要探究更多的节点服务器

项目存在问题

LazyColumn+paging:没写占位符,会存在重复调用网络接口获取数据的问题。

使用ExoPlayer库处理音频,对于网络歌曲只做了缓存,并没有下载。

多行歌词1秒30帧都好流畅,而桌面歌词在部分机型上面需要1秒120帧才能保证流畅,如果歌词显示卡顿,可适当调节刷新时间。

参考

Android 媒体使用入门:https://developer.android.google.cn/media/guides?hl=zh_cn

Jetpack Compose 使用入门:https://developer.android.google.cn/develop/ui/compose/documentation?hl=zh-cn

动画和过渡:https://developer.android.google.cn/develop/ui/views/animations?hl=zh-cn

Compose 中的触控和输入操作:https://developer.android.google.cn/develop/ui/compose/touch-input?hl=zh-cn

如何在 WindowManager.addView 中使用 Jetpack Compose:https://www.cnblogs.com/joy99/p/17927135.html

android Jetpack合成,使用自定义生命周期/ViewModelStore/SavedStateRegistry Owner时不会触发重组:https://www.saoniuhuo.com/question/detail-2258682.html

部分界面预览

相关推荐
android_xc18 分钟前
Android Studio适配butterknife遇到的坑
android·ide·android studio·butterknife
没有梦想的咸鱼185-1037-166318 分钟前
基于R语言机器学习方法在生态经济学领域中的实践技术应用
开发语言·机器学习·数据分析·r语言
2501_9159184132 分钟前
uni-app 项目 iOS 上架效率优化 从工具选择到流程改进的实战经验
android·ios·小程序·uni-app·cocoa·iphone·webview
向上的车轮43 分钟前
基于go语言的云原生TodoList Demo 项目,验证云原生核心特性
开发语言·云原生·golang
The Chosen One98544 分钟前
C++ : AVL树-详解
开发语言·c++
00后程序员张1 小时前
如何在不同 iOS 设备上测试和上架 uni-app 应用 实战全流程解析
android·ios·小程序·https·uni-app·iphone·webview
PH_modest1 小时前
【Qt跬步积累】—— 初识Qt
开发语言·qt
怀旧,1 小时前
【C++】18. 红⿊树实现
开发语言·c++
xiaopengbc2 小时前
在 Python 中实现观察者模式的具体步骤是什么?
开发语言·python·观察者模式
Python大数据分析@2 小时前
python用selenium怎么规避检测?
开发语言·python·selenium·网络爬虫