Monthly Archives: November 2019
Log for View
CardView 和 RecyclerView 入门.
是时候迁移到Android X了
Jetpack == Androidx <== Android Support,Jetpack内部名称和开源项目都叫AndroidX这个名字。
28.0.x 将会是android.support命名空间的最后一个版本号,所有功能将会完全迁到新的X命名空间,其中也包括Google Play Service, Firebase等Library.
视频传送门
Android coding log
初始化一个Button
Button btn = (Button) findViewById(R.id.button);
btn.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
/* action here*/
}
});
setOnClickListener Method传递一个OnClickListener Interface Object. 从而Interface的OnClick方法被调用.
Kotlin的{} curly braces 可以是一个匿名函数Anonymous functions , shell 里面叫group command .
Java 子类不能override 父类没有定义的method.
The Activity class is a crucial component of an Android app, and the way activities are launched and put together is a fundamental part of the platform’s application model. Unlike programming paradigms in which apps are launched with a main() method, the Android system initiates code in an Activity instance by invoking specific callback methods that correspond to specific stages of its lifecycle.
A Fragment represents a behavior or a portion of user interface in a FragmentActivity. You can combine multiple fragments in a single activity to build a multi-pane UI and reuse a fragment in multiple activities. You can think of a fragment as a modular section of an activity, which has its own lifecycle, receives its own input events, and which you can add or remove while the activity is running (sort of like a “sub activity” that you can reuse in different activities).
Shell 脚本链接
https://github.com/LineageOS/android_device_xiaomi_mido/blob/lineage-15.1/extract-files.sh
https://github.com/LineageOS/android_device_xiaomi_msm8953-common/blob/lineage-15.1/extract-files.sh
https://github.com/LineageOS/android_vendor_lineage/blob/lineage-15.1/build/tools/extract_utils.sh
https://github.com/LineageOS/android_device_xiaomi_mido/blob/lineage-15.1/proprietary-files.txt
What are the minimum and recommended requirements to play PUBG?
Minimum requirements for PUBG is as follows:
OS: 64-bit Windows 7, Windows 8.1, Windows 10
CPU: Intel i5-4430 / AMD FX-6300
Memory: 8 GB RAM
GPU: nVidia GeForce GTX 960 2GB / AMD Radeon R7 370 2GB
Direct: 11.0
Network: Broadband Internet Connection
Storage: 30 GB available space
Minimum requirements are minimum requirements to run PUBG and may not provide the smoothest game play experience.
Recommended requirements for PUBG is as follows:
OS: 64-bit Windows 7, Windows 8.1, Windows 10
CPU: Intel i5-6600K / AMD Ryzend 5 1600
Memory: 16 GB RAM
GPU: nVidia GeForce GTX 1060 3GB / AMD Radeon RX 580 4GB
Direct: 11.0
Network: Broadband Internet Connection
Storage: 30 GB available space