Category:Mobile Development

  • Android video player plug-in – mxvideo

    Time:2022-5-9

    MXVideo introduce Android open source player based on dumpling player and kotlin, out of the box. Welcome to issue and pull requestProject address:MXVideo Small screen Full screen live broadcast Functional characteristics Any player kernel (including open source ijk, Google exo, Alibaba cloud, etc.) For single case playback, only one program can be played at the […]

  • [turn] the difference and connection between IOS gesture recognizer and touch event

    Time:2022-5-9

    Since we want to talk about the difference and connection between touch and gesture, we need to talk about the definition of touch and gesture first. Touch: We know from the name that the event when our fingers touch the screen can be called touch. When a touch event occurs, there is no response action […]

  • Viewbinding uses view binding in , , adapter, fragment, and activity

    Time:2022-5-9

    Original addresshttps://blog.csdn.net/fly_with_24/article/details/104337067 The following is the author’s reading record original text Google’s role in 2019 I / O ConferenceWhat’s New in Architecture ComponentsThis paper introduces view binding InWhat’s New in Architecture ComponentsIn, there is a short speech on view binding, which compares view binding with existing solutions and further discusses why view binding is better […]

  • OC and C + + interaction cases (1)

    Time:2022-5-9

    OC calls C++ 1. Create a C + + file CFile: New – > file – > IOS, and select the “C + + file” option. img_1.png 2. In the generated CFile HPP (you can change. HPP to. H) declares the method in CFile Implementation method in cpp file //Statement class CFile { public: static […]

  • How does Android monitor screen rotation

    Time:2022-5-9

    catalogue background problem Solution ideas Other issues Summary background As for individuals, some time ago, I was too busy with business, so I didn’t have time to think and precipitate something; At the same time, each of the group can have their own thinking and summary in business. In such an atmosphere, they can’t help […]

  • Example code of how IOS implements forced screen rotation, forced horizontal screen and forced vertical screen

    Time:2022-5-9

    This paper introduces the example code of IOS how to realize forced screen rotation, forced horizontal screen and forced vertical screen, which can be shared with you In today’s project, when I was watching a video, my account was crowded. If it was horizontal, I need to force the vertical screen. It’s a headache. I […]

  • Class and encapsulation

    Time:2022-5-9

    Similarities and differences between struct and class Similarities In C + +, struct can be used to define a class, but it can define its own functions and access permissions, which is not allowed in C. C + + is compatible with everything in C language as the name suggests, and then develops its own […]

  • Let go code run on the mobile terminal

    Time:2022-5-9

    In some specific cases, we need to implement some functions for the mobile terminal. If we write code for each mobile terminal, it is not only heavy workload, but also difficult to maintain. One scheme we use is to write go code, and then compile it into code on different platforms. Go language itself also […]

  • Flutter synthetic games

    Time:2022-5-8

    Flutter synthetic gamesGitHub source address:https://github.com/CZXBigBrother/animals-merge-demo init.gif To realize the function, we need to understand the two shutter controls draggable and dragtarget It can be seen from the literal meaning that draggable can be dragged, and dragtarget is the drag target, which is to receive the control of draggable ddd.png We can only receive controls that […]

  • Swift FAQ

    Time:2022-5-8

    1、 Foundation 1. What is the difference between class and struct? a. Struct will automatically generate the required constructor. The constructor with which attribute is not assigned an initial value will be generated with which attribute as the parameter. But class doesn’t. write it yourself struct StructTest { var name:String var age:Int } class ClassTest […]

  • Android serial 41 – review four basic layouts

    Time:2022-5-8

    Explain four basic layouts in detail LinearLayout Linear layout android:orientation= Vertical vertical arrangement Horizontal horizontal android:layout_ Gravity = used to specify the alignment of text in the control top center_vertical bottom Note that if orientation is horizontal, the control can only be aligned in the vertical direction android:layout_ Weight this is a kind of proportion. […]

  • Android fresco image loading optimization scheme

    Time:2022-5-8

    catalogue Optimization background data record Optimization scheme matters needing attention Optimization background In general, fresco image loading requires simpledraweeview. This control cannot automatically load images on demand according to its own size, that is, an n × The actual picture loaded behind the UI control of 2n may be 2n × 2N。 This leads to […]