上一页 1 ··· 176 177 178 179 180 181 182 183 184 ··· 206 下一页
摘要: 小视频app源码,实现简单的登录界面,输入账号密码实现的相关代码 <?xml version="1.0" encoding="utf-8"?><androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schema 阅读全文
posted @ 2021-11-19 14:23 云豹科技-苏凌霄 阅读(344) 评论(0) 推荐(0)
摘要: 直播系统开发,每日任务定时刷新实现的相关代码 1. Timer Timer是 JDK 自带的定时任务执行类,可以直接使用 Timer来实现定时任务。这种实现方式比较简单,可以指定首次执行的延迟时间、首次执行的具体日期时间,以及执行频率,能满足日常需要。Timer是线程安全的,因为背后是单线程在执行所 阅读全文
posted @ 2021-11-19 14:14 云豹科技-苏凌霄 阅读(76) 评论(0) 推荐(0)
摘要: 直播带货源码,Android Studio购买售卖系统实现的相关代码 ShopActivity package com.example.tryfirst; import android.content.Intent;import android.os.Bundle;import android.su 阅读全文
posted @ 2021-11-19 14:08 云豹科技-苏凌霄 阅读(298) 评论(0) 推荐(0)
摘要: 短视频app开发,界面滑动到底的几种实现方式 1.1 那么说明一下 getLegt(),getTop(),getBottom(),getRight();其实就是获取View自身到其父布局的距离。 如:getLegt() 就是获取自身左边到父布局左边的距离; getTop() 就是获取自身上边到父布局 阅读全文
posted @ 2021-11-18 14:20 云豹科技-苏凌霄 阅读(245) 评论(0) 推荐(0)
摘要: 在线直播系统源码,开屏首页广告点击跳过按钮跳过倒计时实现的相关代码 <?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" andro 阅读全文
posted @ 2021-11-18 14:14 云豹科技-苏凌霄 阅读(124) 评论(0) 推荐(0)
摘要: 聊天平台源码,简单使用 禁止滑动和设置滑动方向实现的相关代码 ViewPager2 简单使用 <androidx.viewpager2.widget.ViewPager2 android:layout_below="@+id/top" android:id="@+id/vp_content" and 阅读全文
posted @ 2021-11-18 14:09 云豹科技-苏凌霄 阅读(36) 评论(0) 推荐(0)
摘要: 直播app源码,全屏并且去掉底部虚拟导航栏实现的相关代码 @Override public void onWindowFocusChanged(boolean hasFocus) { super.onWindowFocusChanged(hasFocus); if (hasFocus) { getW 阅读全文
posted @ 2021-11-17 14:16 云豹科技-苏凌霄 阅读(146) 评论(0) 推荐(0)
摘要: 短视频系统源代码,动态输入文字到达行上限自动换行实现的相关代码 label.numberOfLines = 0//首先设置目标行数为0//自动截取换行label.lineBreakMode = .byCharWrapping//.byTruncatingHead:省略头部文字,省略部分用...代替/ 阅读全文
posted @ 2021-11-17 14:12 云豹科技-苏凌霄 阅读(114) 评论(0) 推荐(0)
摘要: 一对一聊天软件源码,实现各个子界面跳转和传参的相关代码 1添加依赖 javaCompileOptions { annotationProcessorOptions { arguments = [moduleName :project.getName() ] } } compile'com.aliba 阅读全文
posted @ 2021-11-17 14:07 云豹科技-苏凌霄 阅读(434) 评论(0) 推荐(0)
摘要: 直播电商源码,活动开始时间计时器实现的相关代码 private void stopTime() { LogUtils.e("stopTime"); if (timer != null) { timer.cancel(); timer = null; } if (task != null) { tas 阅读全文
posted @ 2021-11-16 14:23 云豹科技-苏凌霄 阅读(49) 评论(0) 推荐(0)
上一页 1 ··· 176 177 178 179 180 181 182 183 184 ··· 206 下一页