Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/running-libo/Tiktok

高仿抖音APP
https://github.com/running-libo/Tiktok

Last synced: 3 months ago
JSON representation

高仿抖音APP

Awesome Lists containing this project

README

        

高仿抖音APP

这里是简书博客地址
[https://www.jianshu.com/p/f1f452abc328](https://www.jianshu.com/p/f1f452abc328)

![抖音,记录别人的美好生活](https://upload-images.jianshu.io/upload_images/8669504-3293ef3c6d1d27d3.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/800)

抖音这么火,我就想着要不自己也做一个吧,于是就有了我的自制抖音。喜欢的可以点个star或关注一下,以后会保持维护和优化。

主要效果演示
![](https://upload-images.jianshu.io/upload_images/8669504-5f63ca6bf575707f.gif?imageMogr2/auto-orient/strip)

#####安装包:
![](https://upload-images.jianshu.io/upload_images/8669504-e1be608e286f7dd6.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/300)

仿抖音App做的技术点及特点:
- 全屏切换播放效果用的是Recycler加PagerSnapHelper控制。
![](https://upload-images.jianshu.io/upload_images/8669504-e0830fc715f87cb2.gif?imageMogr2/auto-orient/strip)

- 使用lottie库加载json动画,json动画由VUE制作
![](https://upload-images.jianshu.io/upload_images/8669504-dd45e579a049a9c3.gif?imageMogr2/auto-orient/strip)

- 点赞心形动画
![](https://upload-images.jianshu.io/upload_images/8669504-fccfa86f71641144.gif?imageMogr2/auto-orient/strip)

- 分享评论弹框用的是BottomSheetDialogFragment
![](https://upload-images.jianshu.io/upload_images/8669504-edd6777f1ba8733a.gif?imageMogr2/auto-orient/strip)

- 个人主页用的是CoordinatorLayout+AppBarLayout折叠布局。
![](https://upload-images.jianshu.io/upload_images/8669504-ca63d12612869f5d.gif?imageMogr2/auto-orient/strip)

- 头像大图页面
![](https://upload-images.jianshu.io/upload_images/8669504-94434ff349aec811.gif?imageMogr2/auto-orient/strip)

- 同城视频
![](https://upload-images.jianshu.io/upload_images/8669504-fb5e3e9ad10cd1c5.gif?imageMogr2/auto-orient/strip)

- 话题# @用户控件,可标颜色可点击
![](https://upload-images.jianshu.io/upload_images/8669504-475553d2484c356a.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/400)

由于没有接口获取数据,使用的方式是将图片视频资源下载放入项目中,自己构造的视频列表数据。

关于抖音

1.用户玩法
![](https://upload-images.jianshu.io/upload_images/8669504-18e92aa34cdebc9d.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/800)

2.产品框架
![](https://upload-images.jianshu.io/upload_images/8669504-a39d675b64260dd5.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/800)

3.核心功能
抖音的对嘴表演模式创造性的解决了这个问题,通过音频台词,剧本我都给你写好了,你只要表演,而且音频时长很短不到15秒,降低了表达成本,增加了内容趣味,恰巧因为这个低成本内容也变得易扩散。

4.拉新
![](https://upload-images.jianshu.io/upload_images/8669504-ff8114efb2a74747.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/800)

个人温馨提示:
刷抖音时能带给你短暂的愉悦感,但如果长期沉迷于刷抖音,甚至会熬夜刷抖音,晚睡晚起,会使自己碎片化时间无法被利用,心情浮躁,专注力下降。你可以网络段子张口就来,明星网红关注比谁都多,但是个人认知水平并没有提高,我说的是不是你?沉下心来学习专业技能,才是我们最应该做的。