Android Flutter hybrid development of high imitation large factory App

From the first part Summary of App and tips accumulation of flutter's 10 day high imitation large factory This time, we are full of dry goods. This article will outline the building of Android component architecture and how to mix the development of Flutter and Android (only the first page of the whole App is completed with native Android, and ...

Added by prashanth on Fri, 19 Jun 2020 06:12:56 +0300

Super simple way to create your own slide menu

Then you can click the menu to change the icon. For example, click happy, and the homepage will become a smiling face. The implementation process is super simple Step 1: you need to use two new controls: ToolBar and DrawableLayout First, I need to write three xml layout files. The layout file here is embedded w ...

Added by runelore on Tue, 26 May 2020 18:18:27 +0300

Android Studio obfuscation packaging and common third-party dependent obfuscation configuration

First, enable obfuscation in build.gradle, that is, minifyEnabled true. My build.gradle is as follows: def releaseTime() { return new Date().format("yyyy.MM.dd", TimeZone.getTimeZone("UTC")) } android { .... buildTypes { release { // confusion minifyEnabled true ...

Added by happyness on Tue, 31 Mar 2020 13:51:59 +0300

QR code generation and scanning

We've seen QR code before. There's no nonsense here. We'll go to dry goods directly. step Import dependency compile 'com.google.zxing:core:3.2.1' //zxing core dependency compile 'com.journeyapps:zxing-android-embedded:3.3.0' //Generate QR code dependency 1 2 Generate QR code Here, a ZxingUtils is encapsu ...

Added by mpunn on Sun, 05 Jan 2020 23:42:42 +0200

PullLoad MoreRecycleView Flash Problem after Android Studio 3.3 Upgrade

PullLoad MoreRecycleView Flash Problem after Android Studio Upgrade PullLoadMoreRecycleView It's a nice drop-down refresh library and a pull-up load refresh library. But it hasn't been updated for a long time. To develop new functionality today, we ...

Added by Kurtismonger on Wed, 21 Aug 2019 11:08:22 +0300

Day35 MVP architecture, dagger 2, butterknife usage

Brief introduction to butterKnife framework ButterKnife is a View injection framework focusing on Android systems. It used to write a lot of findViewById to find View objects. With ButterKnife, these steps can be easily eliminated. ButterKnife - > For UI Annotation Class Framework -> Setting up ...

Added by pearjam on Fri, 09 Aug 2019 10:27:38 +0300

Android: ViewPager and Fregment

Main categories: ViewPager's Brief Explanation Optimal Implementation of ViewPager Introduction to Fregment Optimal Implementation of Fregment ViewPager in conjunction with Fregment Introduction and Function of ViewPager ViewPager is a class in the v4 package of the android extension package, which allows users to switch the current view ...

Added by salhzmzm on Wed, 10 Jul 2019 22:42:20 +0300

Butter Knife is used in detail

http://blog.csdn.net/johnny901114/article/details/52662376  I. Overview JakeWharton I want to be in Android No one knows, no one knows. ButterKnife This framework is from his own hands. This framework I believe many people have used, this series of blogs is to bring you a deeper understanding of the framework, ButterKnife has so far ...

Added by cr-ispinternet on Thu, 20 Jun 2019 05:36:35 +0300

Simple analysis of Butter Knife source

1. Introduction to Butter Knife Butter Knife is an open source dependency injection framework that primarily serves as a syntax sugar effect, such as Button button = (Button) findViewById(R.id.button);, which can be simplified to @BindView(R.id.button) Button button;. Here Obviously, you can see that this is done with annotations. As to whether ...

Added by kroll on Tue, 18 Jun 2019 20:42:25 +0300

Android imitates the Home Page of Palm Heroes Alliance to achieve folding effect

It's not just the Palm Heroes Alliance, but also the micro blog discovery page. When sliding to a certain distance, it automatically hides the rotation map, or the layout under the title bar. And make the tablayout top. Similarly, the layout of the personal pages of the brief books is the same. Some of the image processing is not clear. It ...

Added by Swedie on Mon, 17 Jun 2019 00:12:39 +0300