积跬步

Just do IT Now.


  • Home

  • Tags

  • Categories

  • Archives

  • Search

后期-反编译-Null大佬的

Posted on 2023-09-13 | In Android

作者:GameProgramer
链接:https://www.jianshu.com/p/cf593a95d062
来源:简书

Apk反编译及重新打包流程

一、反编译代码

Read more »

剑Java代码

Posted on 2023-07-21 | In Java代码片段

作者:白夜行的博客 博客地址:****https://blog.csdn.net/baiye_xing/

思路及代码实现
代码中用到的数据结构

  • 链表

    1
    2
    3
    4
    5
    6
    7
    public class ListNode {
    int val;
    ListNode next;
    ListNode(int val) {
    this.val = val;
    }
    }
  • 二叉树

    1
    2
    3
    4
    5
    6
    7
    8
    public class TreeNode {
    int val;
    TreeNode left;
    TreeNode right;
    TreeNode(int x) {
    val = x;
    }
    }
Read more »

UI-CardView

Posted on 2023-05-16 | In Android
CardView 常用属性 XML 属性 方法 介绍 app:cardBackgroundColor setCardBackgroundColor(int color) 设置背景颜色 app:cardCornerRadius setRadius(float radius) 设置圆角大小 ...
Read more »

UI-进度条

Posted on 2023-04-27 | In Android

自定义酷炫的进度条

效果图:【目前没有接入外部数据,是自身有的进度在跳】

img

Read more »

Xml

Posted on 2023-03-30 | In Android代码片段

遍历出xml中的属性

例子1

set.xml

Read more »

UI-ImageView

Posted on 2023-03-22 | In Android

ScaleType属性

ScaleType.FIT_CENTER 默认

该模式是ImageView的默认模式,如果没有设置ScaleType时,将采用这种模式展示图片。在该模式下,图片会被等比缩放到能够填充控件大小,并居中展示:

Read more »

ASM函数插桩

Posted on 2023-03-15 | In Android

ASM

介绍的文章:

  • 在AndroidStudio中实现自定义Gradle插件
  • Class文件格式实战:使用ASM动态生成class文件
  • 【Android】函数插桩(Gradle + ASM)
Read more »

UI-FlexboxLayout

Posted on 2023-03-08 | In Android

流式布局(弹性布局)

添加依赖

1
2
3
dependencies {
implementation 'com.google.android:flexbox:1.0.0'
}
Read more »

RN相关

Posted on 2023-02-28 | In Android

RN 中文API:https://reactnative.cn/docs/getting-started

搭建环境:https://reactnative.cn/docs/environment-setup

调试:https://reactnative.cn/docs/debugging

Read more »

UI-折叠布局CollapsingToolbarLayout

Posted on 2023-02-23 | In Android

CollapsingToolbarLayout

简介

  • 一个FrameLayout
  • 用于实现可折叠的标题栏,通常在子布局中放一个Toolbar
  • 必须作为 AppBarLayout 的子类,才能发挥出效果
Read more »

Jetpack Hilt

Posted on 2022-12-27 | In Kotlin

Hilt 的使用

基本使用

用 @Inject 对变量进⾏注解,表示「这个变量要用依赖注入的⽅式来加载」:

Read more »

RecyclerView核心要点

Posted on 2022-12-19 | In Hencoder

RecyclerView核心要点

RecyclerView是什么?

a flexible view for providing
a limited window into
a large data set

Read more »
<1…456…24>

285 posts
21 categories
44 tags
E-Mail CSDN
0%
© 2018 — 2025 阿炳
Powered by Hexo
|
Theme — NexT.Gemini v5.1.4