训练营第一天学习笔记
第一天学习笔记 老师:唐鸿程 Android按照运行方式分为3阶段 JIT AOT AOT+JIT Android系统可以分5层 kernel 层 ,硬件抽象层 , art c++层 , java framew...
第一天学习笔记 老师:唐鸿程 Android按照运行方式分为3阶段 JIT AOT AOT+JIT Android系统可以分5层 kernel 层 ,硬件抽象层 , art c++层 , java framew...
Android内存管理知识点 问题 1: 什么是垃圾回收机制? 解答: 垃圾回收(GC)是由Java虚拟机(JVM)垃圾回收器提供的一种对内存回收的机制...
Android(6) 记账本小项目 BillPagerActivity.java package com.showguan.chapter08; import android.app.DatePickerDialog; import android.content.Intent; import android.media.Image; import android.os.Bundle; import android.util.TypedValue; import android.view.View; import android.widget.DatePicker; import android.widget.ImageView; import android.widget.TextView; import androidx.activity.EdgeToEdge; import androidx.appcompat.app.AppCompatActivity; import androidx.core.graphics.Insets; import androidx.core.view.ViewCompat; import androidx.core.view.WindowInsetsCompat; import androidx.viewpager.widget.PagerTabStrip; import androidx.viewpager.widget.ViewPager; import com.showguan.chapter08.adapter.BillPagerAdapter; import com.showguan.chapter08.database.BillDBHelper; import com.showguan.chapter08.util.DateUtil; import org.w3c.dom.Text; import java.util.Calendar; public class BillPagerActivity extends AppCompatActivity implements View.OnClickListener, DatePickerDialog.OnDateSetListener {...
Android(5) 高级控件 SpinnerDialog + ArrayAdapter XML <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/main" android:layout_width="match_parent" android:layout_height="match_parent" tools:context=".SpinnerDropdownActivity" android:orientation="vertical"> <TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:text="下拉模式的列表框" android:textSize="17sp"/> <Spinner android:id="@id/sp_dialog" android:layout_width="match_parent" android:layout_height="wrap_content" android:spinnerMode="dialog"/>...
Android(4) 就算是最低的15x15都已经不错了,以后还有时间去学,上了研究生也没人能保证你有15x15的收入 内容提供者(Conten...
Android(2) Activity的启动和结束 从当前页面跳转到新页面,跳转代码如下: startActivity(new Intent(源页面.this, 目标页面.class...
Android(3) 清楚自己是在为了什么而努力,以后能得到什么,你想要什么结果。 数据存储 共享参数的用法 SharedPreferences 是 Android的一个轻量级存储工具...
Android(1) 【金山文档 | WPS云文档】 Kotlin 讲义 https://kdocs.cn/l/cu14rrCtfKxv 【金山文档 | WPS云文档】 Android 四大组件课程概要 https://kdocs.cn/l/croaFl0RS5LA 【金山文档 | WPS云文档】 Fragment 重点知识 https://kdocs.cn/l/cj89XRLXypb8 【...