ByRecyclerView: true universal split line (linear / grid / waterfall flow)

Preface I've basically searched all the articles on the Internet that set the separator line through itemdecorated, but they are not satisfactory. Most of them are only applicable to some situations, such as setting only for linear layout, setting only color, setting drawable, not removing the separat ...

Posted by thinkgfx on Sat, 22 Feb 2020 22:35:37 -0800

Android print execution time of all methods of main thread

Preface: We know that Android carton is mainly caused by time-consuming operations in the main thread, so how can we easily and quickly get the execution time of all time-consuming methods in the main thread? Today we will introduce two plans Scheme 1: use the special keyword of logging.print of lo ...

Posted by askbapi on Sat, 22 Feb 2020 01:57:41 -0800

2020.2.21Menu and PopupWindow

menu menus and windows System menu OptionsMenu Code display Effect display Matters needing attention Context menucontextmenu Code display Effect display Matters needing attention Pop-up Menu Code display Effect display PopupWindow window Code display Effect display Matters needing attention ...

Posted by LanHorizon on Fri, 21 Feb 2020 07:15:11 -0800

Detailed use of Android official architecture component Navigation

Preface Some time ago, when I was doing project development, I encountered several small problems in Fragment management. I always felt that the encapsulated Fragment manager was not elegant at this stage. This has become the Navigation library that I am determined to learn from Jetpack, which was lau ...

Posted by corruption on Thu, 20 Feb 2020 23:04:06 -0800

How to set space between listView projects in Android

I try to use marginBottom on listView to make room between listView items, but they are still attached together. Is it possible if so, is there a specific way to do it? My code is as follows <LinearLayout android:id="@+id/alarm_occurences" android:layout_width="fill_parent" android:orientation="vertical" android:layout_height="fill ...

Posted by Majes on Thu, 20 Feb 2020 02:29:04 -0800

Interaction between Android Studio and Unity -- loading the project exported by Unity into Android Studio

Version information Android Studio: (Android Studio-Help-About) Unity: (Unity-Help-About Unity) Note: Latest version of China Enhanced Edition (time: 2020-02-20) Install Android module 1, Operations in Unity 1. Create a Unity project and prepare a Unity game. Recommended tutorials: Introduction ...

Posted by dprichard on Wed, 19 Feb 2020 22:47:45 -0800

Take you to a campus APP: campus address book module

Campus address book function, collect and display the public contact information in the campus. It is often used in daily life. For example, when the water and electricity department has a problem, it needs to find a water and electricity master, an enrollment and employment office, a study and work off ...

Posted by surreal5335 on Wed, 19 Feb 2020 16:56:23 -0800

Drawer of drawer

Drawer (drawer component) 1. Overview Scalfold is a common layout Widget used by the Flutter MaterialApp. It accepts a Drawer attribute and supports the configuration of the Drawer. It can pull out the navigation panel from the side bar. The advantage is to fold up some function menus. Generally, th ...

Posted by Asperon on Mon, 17 Feb 2020 01:11:53 -0800

springboot2.0 + websocket + android client practice

brief introduction WebSocket is a protocol in HTML5. It supports persistent connection and can effectively solve the problem of polling when data synchronization between client and server. Design sketch Server side Create a web project (omitted here) Introduce websocket maven dependency (supported only when springboot ...

Posted by philspliff on Sat, 15 Feb 2020 12:16:17 -0800

[rk3399] [Android 7.1] debugging notes: set the default startup language to Chinese

Platform: RK3399 OS: Android 7.1 Kernel: v4.4.83 resolvent: diff --git a/target/product/full_base.mk b/target/product/full_base.mk index 65bdf0f..071d299 100644 --- a/target/product/full_base.mk +++ b/target/product/full_base.mk @@ -43,7 +43,8 @@ PRODUCT_PROPERTY_OVERRIDES := \ ro.config.notification_sound=pixiedus ...

Posted by shaundunne on Sat, 15 Feb 2020 10:26:33 -0800