• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
起来嗨时卖个萌
博客园 | 首页 | 新随笔 | 新文章 | 联系 | 订阅 订阅 | 管理
上一页 1 2

2019年8月5日

EventBus
摘要: EventBus依赖库: implementation 'org.greenrobot:eventbus:3.1.1' EventBus主要角色: Event 传递的事件对象 Subscriber 事件的订阅者 Publisher 事件的发布者 ThreadMode 定义函数在何种线程中执行 角色的 阅读全文
posted @ 2019-08-05 20:29 起来嗨时卖个萌 阅读(463) 评论(0) 推荐(0)
 
ok框架简单应用
摘要: package com.example.day1;import android.os.Handler;import android.os.Looper;import java.io.IOException;import java.util.Map;import java.util.concurren 阅读全文
posted @ 2019-08-05 20:28 起来嗨时卖个萌 阅读(230) 评论(0) 推荐(0)
 
 

2019年7月26日

流式布局简单写法
摘要: //在activity中书写的内容 阅读全文
posted @ 2019-07-26 15:14 起来嗨时卖个萌 阅读(460) 评论(0) 推荐(0)
 
 

2019年6月1日

自定义View组合控件
摘要: package com.example.myview_homework_demo;import android.annotation.SuppressLint;import android.content.Context;import android.util.AttributeSet;import android.view.LayoutInflater;import android.view.V... 阅读全文
posted @ 2019-06-01 09:59 起来嗨时卖个萌 阅读(831) 评论(0) 推荐(0)
 
 

2019年5月31日

属性动画
摘要: ObjectAnimator translation = ObjectAnimator.ofFloat(Tv_Text, "translationX", 0f, 500f,0f,200f,100f,600f,0f);ObjectAnimator rotation = ObjectAnimator.o 阅读全文
posted @ 2019-05-31 20:05 起来嗨时卖个萌 阅读(153) 评论(0) 推荐(0)
 
适配器新篇
摘要: package com.example.moutha.adapter;import android.content.Context;import android.graphics.Color;import android.support.annotation.NonNull;import android.support.v7.widget.RecyclerView;import android.v... 阅读全文
posted @ 2019-05-31 16:03 起来嗨时卖个萌 阅读(170) 评论(0) 推荐(0)
 
 

2019年5月30日

webview简单互调
摘要: package com.example.mouth.fragment;import android.os.Bundle;import android.support.annotation.NonNull;import android.support.annotation.Nullable;import android.support.v4.app.Fragment;import android.v... 阅读全文
posted @ 2019-05-30 09:04 起来嗨时卖个萌 阅读(263) 评论(0) 推荐(0)
 
 

2019年5月24日

全局捕获异常
摘要: import android.content.Context;import android.os.Environment;import android.os.Process;import android.util.Log;import java.io.File;import java.io.File 阅读全文
posted @ 2019-05-24 16:18 起来嗨时卖个萌 阅读(200) 评论(0) 推荐(0)
 
 

2019年5月23日

流式布局
摘要: //流式布局的写法import android.content.Context;import android.util.AttributeSet;import android.view.View;import android.widget.LinearLayout;import android.widget.TextView;import com.example.myview.R;import c... 阅读全文
posted @ 2019-05-23 20:49 起来嗨时卖个萌 阅读(324) 评论(0) 推荐(0)
 
 

2019年5月18日

RecyclerView的adapter的实际使用方法
摘要: //这是平常的单条目(记得加布局管理器)import android.support.v7.widget.RecyclerView;import android.view.View;import android.view.ViewGroup;import android.widget.TextVie 阅读全文
posted @ 2019-05-18 09:59 起来嗨时卖个萌 阅读(7180) 评论(0) 推荐(0)
 
 
上一页 1 2

公告


博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3