自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 资源 (9)
  • 问答 (1)
  • 收藏
  • 关注

原创 Android token失效统一跳转登陆界面,基于okhttp+广播通信

第一步找个Activity注册广播监听一般选择app主框架activityOkHttp拦截器写法public class TokenInterceptor implements Interceptor { private static final Charset UTF8 = Charset.forName("UTF-8"); private Context mContext; public TokenInterceptor(Context co){ ...

2021-03-28 13:45:19 1324 5

原创 Swift4.0 实现底部弹出框

网上找了些例子,但是并不能满足我的要求,下面我将网上的荔枝与自己的改进分享给大家原理: 通过swift4的present 结合SnapKit进行布局看效果图:1、包含自定义view: 2:显示List项目引进Snapkit# Uncomment the next line to define a global platform for your project# platform :ios, '9.0'target 'Test' d...

2020-12-24 15:30:01 1531

原创 SwiftUI实现页面跳转

1、通常的方式NavigationLink比较简单就不说了2、通过代码实现跳转的例子网上比较少,今天分享出来,希望大家少走弯路 window = UIApplication.shared.delegate?.window window?.rootViewController = UIHostingController(rootView: YourView());...

2020-12-13 19:51:20 2480 2

转载 Java多线程编程总结

Java多线程编程总结

2013-12-21 11:53:17 309

apache-cxf2.5.2

2016-05-31

cxf-2.4.1.jar

2016-05-31

C#写的合并排序

C#写的合并排序

2013-05-17

C#写的任务管理器

实现网卡流量监控,程序中使用很多API,用来获取系统资源,其他窗口信息(句柄hwnd,图标Icon等)

2013-05-17

用C#写的贪吃蛇

最近缺分所以要了个5分,多多谅解!! 游戏有声音, 有动画其他描述省略

2013-05-17

用internal修饰的类的应用举例

本例演示了Internal修饰的类的访问限制,

2013-04-23

C#实现记事本

实现文本查找 替换,以UTF-8读取/存储 文本, 支持文件拖入读取,以及作为默认启动程序时启动读取;未能实现各种字符集的兼容读取

2012-11-07

C# 界面实现快速排序

using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace QuickSort { public partial class Form1 : Form { public Form1() { InitializeComponent(); }

2012-11-04

C#实现计算器

using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace Calculator { public partial class Form1 : Form { private double operand_one = 0.0; //第一个操作数,用于保存用户输入的值,默认为0 private double operand_two = 0.0; //第二个操作数,用于保存用户输入的值,默认为0 private string str; //用于保存运算符按下之前键入的数字 string op; //用于保存运算符的符号 public Form1() { InitializeComponent(); this.textBox1.Text = ""; } //初始化文本框,置0 private void button1_Click(object sender, EventArgs e) { this.textBox1.Text = ""; this.str = ""; operand_one = 0.0; operand_two = 0.0; }

2012-11-04

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除