This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Author: jzu | |
| * Date: 2018/8/15 | |
| * Function: Fresco操作图片的工具类 | |
| */ | |
| object FrescoUtil { | |
| /** | |
| * scaleSize : 缩放倍数 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class ListTest { | |
| public static void main(String... args){ | |
| Node list = Node.createNewNodeList(9); | |
| Node.printNodeList(list); | |
| list = Node.reversalNodeList(list); | |
| System.out.println("\n===翻转后==="); | |
| Node.printNodeList(list); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 测试 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package noahzu.github.io.studydemo; | |
| import android.app.Activity; | |
| import android.content.ContentValues; | |
| import android.database.Cursor; | |
| import android.net.Uri; | |
| import android.nfc.Tag; | |
| import android.os.Bundle; | |
| import android.util.Log; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package noahzu.github.io.studydemo; | |
| import android.content.ContentProvider; | |
| import android.content.ContentValues; | |
| import android.content.Context; | |
| import android.content.UriMatcher; | |
| import android.database.Cursor; | |
| import android.database.sqlite.SQLiteDatabase; | |
| import android.net.Uri; | |
| import android.support.annotation.Nullable; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package noahzu.github.io.studydemo; | |
| import android.app.Service; | |
| import android.content.Intent; | |
| import android.os.Bundle; | |
| import android.os.Handler; | |
| import android.os.IBinder; | |
| import android.os.Message; | |
| import android.os.Messenger; | |
| import android.os.RemoteException; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class RunJsBaseFragment extends Fragment { | |
| private WebView webView; | |
| @Override | |
| public void onCreate(@Nullable Bundle savedInstanceState) { | |
| super.onCreate(savedInstanceState); | |
| webView = new WebView(getContext()); | |
| webView.getSettings().setJavaScriptEnabled(true); | |
| webView.addJavascriptInterface(new MyJavaScriptInterface(), "HTMLOUT"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SpannableStringBuilder spannable = new SpannableStringBuilder(mTipText.getText()); | |
| spannable.setSpan(new ForegroundColorSpan(Color.parseColor("#FF834C")),10,10+4, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); | |
| mTipText.setText(spannable); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| cd /Users/zujinhao/Documents/AndroidProject/zhiboniu/FinanceLive-Android | |
| echo "当前目录是"$PWD",开始打包" | |
| gradle assemblexiaomiRelease | |
| folderPath="/Users/zujinhao/Documents/AndroidProject/zhiboniu/FinanceLive-Android/app/build/outputs/apk" | |
| filePath="FinanceLive_v1.1.2_`date +%Y-%m-%d`_xiaomi.apk" | |
| apkPath=$folderPath"/"$filePath | |
| echo "打包结束,生成的安装包的路径是"$apkPath | |
| echo "开始安装" | |
| adb install $apkPath |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.yixia.financelive.financelive_android.custome.TagFlowLayoutExtends; | |
| import android.view.View; | |
| import com.zhy.view.flowlayout.FlowLayout; | |
| import java.util.ArrayList; | |
| import java.util.Arrays; | |
| import java.util.HashSet; | |
| import java.util.List; | |
| import java.util.Set; |
NewerOlder