file_path
stringlengths
3
280
file_language
stringclasses
66 values
content
stringlengths
1
1.04M
repo_name
stringlengths
5
92
repo_stars
int64
0
154k
repo_description
stringlengths
0
402
repo_primary_language
stringclasses
108 values
developer_username
stringlengths
1
25
developer_name
stringlengths
0
30
developer_company
stringlengths
0
82
tests/Feature/PasswordConfirmationTest.php
PHP
<?php namespace Tests\Feature; use App\Models\User; use Illuminate\Foundation\Testing\RefreshDatabase; use Tests\TestCase; class PasswordConfirmationTest extends TestCase { use RefreshDatabase; public function test_confirm_password_screen_can_be_rendered(): void { $user = User::factory()->withPe...
yajra/yajrabox.com
10
Source code of yajrabox.com website.
PHP
yajra
Arjay Angeles
ObjectBright, Inc.
tests/Feature/PasswordResetTest.php
PHP
<?php namespace Tests\Feature; use App\Models\User; use Illuminate\Auth\Notifications\ResetPassword; use Illuminate\Foundation\Testing\RefreshDatabase; use Illuminate\Support\Facades\Notification; use Laravel\Fortify\Features; use Tests\TestCase; class PasswordResetTest extends TestCase { use RefreshDatabase; ...
yajra/yajrabox.com
10
Source code of yajrabox.com website.
PHP
yajra
Arjay Angeles
ObjectBright, Inc.
tests/Feature/ProfileInformationTest.php
PHP
<?php namespace Tests\Feature; use App\Models\User; use Illuminate\Foundation\Testing\RefreshDatabase; use Laravel\Jetstream\Http\Livewire\UpdateProfileInformationForm; use Livewire\Livewire; use Tests\TestCase; class ProfileInformationTest extends TestCase { use RefreshDatabase; public function test_curren...
yajra/yajrabox.com
10
Source code of yajrabox.com website.
PHP
yajra
Arjay Angeles
ObjectBright, Inc.
tests/Feature/RegistrationTest.php
PHP
<?php namespace Tests\Feature; use Illuminate\Foundation\Testing\RefreshDatabase; use Laravel\Fortify\Features; use Laravel\Jetstream\Jetstream; use Tests\TestCase; class RegistrationTest extends TestCase { use RefreshDatabase; public function test_registration_screen_can_be_rendered(): void { i...
yajra/yajrabox.com
10
Source code of yajrabox.com website.
PHP
yajra
Arjay Angeles
ObjectBright, Inc.
tests/Feature/TwoFactorAuthenticationSettingsTest.php
PHP
<?php namespace Tests\Feature; use App\Models\User; use Illuminate\Foundation\Testing\RefreshDatabase; use Laravel\Fortify\Features; use Laravel\Jetstream\Http\Livewire\TwoFactorAuthenticationForm; use Livewire\Livewire; use Tests\TestCase; class TwoFactorAuthenticationSettingsTest extends TestCase { use Refresh...
yajra/yajrabox.com
10
Source code of yajrabox.com website.
PHP
yajra
Arjay Angeles
ObjectBright, Inc.
tests/Feature/UpdatePasswordTest.php
PHP
<?php namespace Tests\Feature; use App\Models\User; use Illuminate\Foundation\Testing\RefreshDatabase; use Illuminate\Support\Facades\Hash; use Laravel\Jetstream\Http\Livewire\UpdatePasswordForm; use Livewire\Livewire; use Tests\TestCase; class UpdatePasswordTest extends TestCase { use RefreshDatabase; publ...
yajra/yajrabox.com
10
Source code of yajrabox.com website.
PHP
yajra
Arjay Angeles
ObjectBright, Inc.
tests/TestCase.php
PHP
<?php namespace Tests; use Illuminate\Foundation\Testing\TestCase as BaseTestCase; abstract class TestCase extends BaseTestCase { // }
yajra/yajrabox.com
10
Source code of yajrabox.com website.
PHP
yajra
Arjay Angeles
ObjectBright, Inc.
tests/Unit/ExampleTest.php
PHP
<?php namespace Tests\Unit; use PHPUnit\Framework\TestCase; class ExampleTest extends TestCase { /** * A basic test example. */ public function test_that_true_is_true(): void { $this->assertTrue(true); } }
yajra/yajrabox.com
10
Source code of yajrabox.com website.
PHP
yajra
Arjay Angeles
ObjectBright, Inc.
vite.config.js
JavaScript
import { defineConfig } from 'vite'; import laravel, { refreshPaths } from 'laravel-vite-plugin'; import tailwindcss from "@tailwindcss/vite"; export default defineConfig({ plugins: [ laravel({ input: [ 'resources/css/app.css', 'resources/js/app.js', ...
yajra/yajrabox.com
10
Source code of yajrabox.com website.
PHP
yajra
Arjay Angeles
ObjectBright, Inc.
SuperTextLib/build.gradle
Gradle
apply plugin: 'com.android.library' android { compileSdkVersion 27 buildToolsVersion "27.0.3" defaultConfig { minSdkVersion 17 targetSdkVersion 27 versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" con...
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
SuperTextLib/src/main/java/com/yc/supertextlib/AlignTextView.java
Java
package com.yc.supertextlib; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Canvas; import android.support.annotation.Nullable; import android.support.v7.widget.AppCompatTextView; import android.text.Layout; import android.text.StaticLayout; import android.util.Attribute...
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
SuperTextLib/src/main/java/com/yc/supertextlib/AligningTextView.java
Java
package com.yc.supertextlib; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Canvas; import android.graphics.Paint; import android.support.v7.widget.AppCompatTextView; import android.text.TextPaint; import android.util.AttributeSet; import android.util.TypedValue; import ...
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
SuperTextLib/src/main/java/com/yc/supertextlib/BalanceTextView.java
Java
package com.yc.supertextlib; import android.content.ClipboardManager; import android.content.Context; import android.graphics.Canvas; import android.os.Build; import android.support.annotation.Nullable; import android.support.v7.widget.AppCompatTextView; import android.text.Layout; import android.text.Spanned; import ...
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
SuperTextLib/src/main/java/com/yc/supertextlib/TextViewUtils.java
Java
package com.yc.supertextlib; import android.content.ClipboardManager; import android.content.Context; import android.util.Log; import java.io.UnsupportedEncodingException; /** * <pre> * @author 杨充 * blog : https://github.com/yangchong211 * time : 2019/07/18 * desc : 文本两端对齐的utils * revise...
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
YCCustomTextLib/build.gradle
Gradle
apply plugin: 'com.android.library' android { compileSdkVersion 27 buildToolsVersion "27.0.3" defaultConfig { minSdkVersion 16 targetSdkVersion 27 versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } ...
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
YCCustomTextLib/src/main/assets/editor.html
HTML
<!DOCTYPE html> <html> <head> <meta name="viewport" content="user-scalable=no"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" type="text/css" href="normalize.css"> <link rel="stylesheet" type="text/css" href="style.css"> </head> <body> <div id="editor" conte...
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
YCCustomTextLib/src/main/assets/normalize.css
CSS
html { font-family: sans-serif; /* 1 */ -webkit-text-size-adjust: 100%; /* 2 */ } /** * Remove default margin. */ body { margin: 0; } /* HTML5 display definitions ========================================================================== */ /** * Correct `block` display not defined for any HTML5 elemen...
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
YCCustomTextLib/src/main/assets/rich_editor.js
JavaScript
var RE = {}; RE.currentSelection = { "startContainer": 0, "startOffset": 0, "endContainer": 0, "endOffset": 0}; RE.editor = document.getElementById('editor'); document.addEventListener("selectionchange", function() { RE.backuprange(); }); // Initializations RE.callback = function() { window.loc...
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
YCCustomTextLib/src/main/assets/style.css
CSS
@charset "UTF-8"; html { height: 100%; } body { overflow: scroll; display: table; table-layout: fixed; width: 100%; min-height:100%; } #editor { display: table-cell; outline: 0px solid transparent; background-repeat: no-repeat; background-position: center; background-size: cover; } #editor[p...
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
YCCustomTextLib/src/main/java/com/ns/yc/yccustomtextlib/edit/inter/ImageLoader.java
Java
/* Copyright 2017 yangchong211(github.com/yangchong211) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in...
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
YCCustomTextLib/src/main/java/com/ns/yc/yccustomtextlib/edit/inter/OnHyperChangeListener.java
Java
/* Copyright 2017 yangchong211(github.com/yangchong211) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in...
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
YCCustomTextLib/src/main/java/com/ns/yc/yccustomtextlib/edit/inter/OnHyperEditListener.java
Java
/* Copyright 2017 yangchong211(github.com/yangchong211) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in...
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
YCCustomTextLib/src/main/java/com/ns/yc/yccustomtextlib/edit/inter/OnHyperTextListener.java
Java
/* Copyright 2017 yangchong211(github.com/yangchong211) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in...
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
YCCustomTextLib/src/main/java/com/ns/yc/yccustomtextlib/edit/manager/HyperManager.java
Java
/* Copyright 2017 yangchong211(github.com/yangchong211) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in...
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
YCCustomTextLib/src/main/java/com/ns/yc/yccustomtextlib/edit/model/HyperEditData.java
Java
/* Copyright 2017 yangchong211(github.com/yangchong211) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in...
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
YCCustomTextLib/src/main/java/com/ns/yc/yccustomtextlib/edit/span/BoldItalicSpan.java
Java
package com.ns.yc.yccustomtextlib.edit.span; import android.graphics.Typeface; import android.text.style.StyleSpan; /** * <pre> * @author 杨充 * blog : https://github.com/yangchong211 * time : 2019/07/18 * desc : 加粗斜体 * revise: * </pre> */ public class BoldItalicSpan extends StyleSpan imp...
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
YCCustomTextLib/src/main/java/com/ns/yc/yccustomtextlib/edit/span/BoldStyleSpan.java
Java
package com.ns.yc.yccustomtextlib.edit.span; import android.graphics.Typeface; import android.text.style.StyleSpan; /** * <pre> * @author 杨充 * blog : https://github.com/yangchong211 * time : 2019/07/18 * desc : 加粗 * revise: * </pre> */ public class BoldStyleSpan extends StyleSpan implem...
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
YCCustomTextLib/src/main/java/com/ns/yc/yccustomtextlib/edit/span/InterInlineSpan.java
Java
package com.ns.yc.yccustomtextlib.edit.span; /** * <pre> * @author 杨充 * blog : https://github.com/yangchong211 * time : 2019/07/18 * desc : 接口 * revise: * </pre> */ public interface InterInlineSpan { @RichTypeEnum String getType(); }
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
YCCustomTextLib/src/main/java/com/ns/yc/yccustomtextlib/edit/span/ItalicStyleSpan.java
Java
package com.ns.yc.yccustomtextlib.edit.span; import android.graphics.Typeface; import android.text.style.StyleSpan; /** * <pre> * @author 杨充 * blog : https://github.com/yangchong211 * time : 2019/07/18 * desc : 斜体 * revise: * </pre> */ public class ItalicStyleSpan extends StyleSpan imp...
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
YCCustomTextLib/src/main/java/com/ns/yc/yccustomtextlib/edit/span/RichTypeEnum.java
Java
package com.ns.yc.yccustomtextlib.edit.span; import android.support.annotation.StringDef; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; /** * <pre> * @author 杨充 * blog : https://github.com/yangchong211 * time : 2019/07/18 * desc : span枚举 * revise: 后...
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
YCCustomTextLib/src/main/java/com/ns/yc/yccustomtextlib/edit/span/SpanTextHelper.java
Java
package com.ns.yc.yccustomtextlib.edit.span; import android.text.Editable; import android.widget.EditText; import com.ns.yc.yccustomtextlib.edit.style.BoldItalicStyle; import com.ns.yc.yccustomtextlib.edit.style.BoldStyle; import com.ns.yc.yccustomtextlib.edit.style.ItalicStyle; import com.ns.yc.yccustomtextlib.edit....
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
YCCustomTextLib/src/main/java/com/ns/yc/yccustomtextlib/edit/span/StrikeThroughSpan.java
Java
package com.ns.yc.yccustomtextlib.edit.span; import android.text.style.StrikethroughSpan; /** * <pre> * @author 杨充 * blog : https://github.com/yangchong211 * time : 2019/07/18 * desc : 删除线 * revise: * </pre> */ public class StrikeThroughSpan extends StrikethroughSpan implements InterIn...
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
YCCustomTextLib/src/main/java/com/ns/yc/yccustomtextlib/edit/span/UnderLineSpan.java
Java
package com.ns.yc.yccustomtextlib.edit.span; import android.graphics.Typeface; import android.text.style.UnderlineSpan; /** * <pre> * @author 杨充 * blog : https://github.com/yangchong211 * time : 2019/07/18 * desc : 下划线 * revise: * </pre> */ public class UnderLineSpan extends UnderlineS...
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
YCCustomTextLib/src/main/java/com/ns/yc/yccustomtextlib/edit/state/TextEditorState.java
Java
/* Copyright 2017 yangchong211(github.com/yangchong211) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in...
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
YCCustomTextLib/src/main/java/com/ns/yc/yccustomtextlib/edit/state/TextViewState.java
Java
/* Copyright 2017 yangchong211(github.com/yangchong211) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in...
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
YCCustomTextLib/src/main/java/com/ns/yc/yccustomtextlib/edit/style/BoldItalicStyle.java
Java
package com.ns.yc.yccustomtextlib.edit.style; import com.ns.yc.yccustomtextlib.edit.span.BoldItalicSpan; /** * <pre> * @author 杨充 * blog : https://github.com/yangchong211 * time : 2019/07/18 * desc : 加粗斜体 * revise: * </pre> */ public class BoldItalicStyle extends NormalStyle<BoldItalicS...
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
YCCustomTextLib/src/main/java/com/ns/yc/yccustomtextlib/edit/style/BoldStyle.java
Java
package com.ns.yc.yccustomtextlib.edit.style; import com.ns.yc.yccustomtextlib.edit.span.BoldStyleSpan; /** * <pre> * @author 杨充 * blog : https://github.com/yangchong211 * time : 2019/07/18 * desc : 加粗 * revise: * </pre> */ public class BoldStyle extends NormalStyle<BoldStyleSpan> { ...
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
YCCustomTextLib/src/main/java/com/ns/yc/yccustomtextlib/edit/style/ItalicStyle.java
Java
package com.ns.yc.yccustomtextlib.edit.style; import com.ns.yc.yccustomtextlib.edit.span.ItalicStyleSpan; /** * <pre> * @author 杨充 * blog : https://github.com/yangchong211 * time : 2019/07/18 * desc : 斜体 * revise: * </pre> */ public class ItalicStyle extends NormalStyle<ItalicStyleSpan>...
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
YCCustomTextLib/src/main/java/com/ns/yc/yccustomtextlib/edit/style/NormalStyle.java
Java
package com.ns.yc.yccustomtextlib.edit.style; import android.text.Editable; import android.text.Spanned; import android.util.Pair; import java.lang.reflect.ParameterizedType; /** * <pre> * @author 杨充 * blog : https://github.com/yangchong211 * time : 2019/12/24 * desc : 样式抽象类 * revise: *...
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
YCCustomTextLib/src/main/java/com/ns/yc/yccustomtextlib/edit/style/StrikeThroughStyle.java
Java
package com.ns.yc.yccustomtextlib.edit.style; import com.ns.yc.yccustomtextlib.edit.span.StrikeThroughSpan; /** * <pre> * @author 杨充 * blog : https://github.com/yangchong211 * time : 2019/07/18 * desc : 删除线 * revise: * </pre> */ public class StrikeThroughStyle extends NormalStyle<Strike...
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
YCCustomTextLib/src/main/java/com/ns/yc/yccustomtextlib/edit/style/UnderlineStyle.java
Java
package com.ns.yc.yccustomtextlib.edit.style; import com.ns.yc.yccustomtextlib.edit.span.UnderLineSpan; /** * <pre> * @author 杨充 * blog : https://github.com/yangchong211 * time : 2019/07/18 * desc : 下划线 * revise: * </pre> */ public class UnderlineStyle extends NormalStyle<UnderLineSpan...
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
YCCustomTextLib/src/main/java/com/ns/yc/yccustomtextlib/edit/view/DeletableEditText.java
Java
/* Copyright 2017 yangchong211(github.com/yangchong211) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in...
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
YCCustomTextLib/src/main/java/com/ns/yc/yccustomtextlib/edit/view/HyperImageView.java
Java
/* Copyright 2017 yangchong211(github.com/yangchong211) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in...
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
YCCustomTextLib/src/main/java/com/ns/yc/yccustomtextlib/edit/view/HyperTextEditor.java
Java
/* Copyright 2017 yangchong211(github.com/yangchong211) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in...
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
YCCustomTextLib/src/main/java/com/ns/yc/yccustomtextlib/edit/view/HyperTextView.java
Java
/* Copyright 2017 yangchong211(github.com/yangchong211) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in...
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
YCCustomTextLib/src/main/java/com/ns/yc/yccustomtextlib/edit/wrapper/DeleteInputConnection.java
Java
/* Copyright 2017 yangchong211(github.com/yangchong211) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in...
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
YCCustomTextLib/src/main/java/com/ns/yc/yccustomtextlib/utils/HyperHtmlUtils.java
Java
package com.ns.yc.yccustomtextlib.utils; /** * <pre> * @author 杨充 * blog : https://github.com/yangchong211 * time : 2019/07/18 * desc : 将富文本转化成html格式工具类 * revise: 上传服务器数据:第一种json方式,第二种html方法 * </pre> */ public final class HyperHtmlUtils { /** * 将字符串格式化成JSON的格式 * @param st...
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
YCCustomTextLib/src/main/java/com/ns/yc/yccustomtextlib/utils/HyperLibUtils.java
Java
/* Copyright 2017 yangchong211(github.com/yangchong211) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in...
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
YCCustomTextLib/src/main/java/com/ns/yc/yccustomtextlib/utils/HyperLogUtils.java
Java
/* Copyright 2017 yangchong211(github.com/yangchong211) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in...
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
YCCustomTextLib/src/main/java/com/ns/yc/yccustomtextlib/web/AfterInitialLoadListener.java
Java
package com.ns.yc.yccustomtextlib.web; /** * <pre> * @author 杨充 * blog : https://github.com/yangchong211 * time : 2019/07/18 * desc : 加载结束监听 * revise: * </pre> */ public interface AfterInitialLoadListener { /** * 加载结束监听 * @param isReady 是否结束 */ v...
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
YCCustomTextLib/src/main/java/com/ns/yc/yccustomtextlib/web/OnDecorationListener.java
Java
package com.ns.yc.yccustomtextlib.web; import java.util.List; /** * <pre> * @author 杨充 * blog : https://github.com/yangchong211 * time : 2019/07/18 * desc : 状态变化监听 * revise: * </pre> */ public interface OnDecorationListener { /** * 状态变化监听事件 * @param text ...
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
YCCustomTextLib/src/main/java/com/ns/yc/yccustomtextlib/web/OnTextChangeListener.java
Java
package com.ns.yc.yccustomtextlib.web; /** * <pre> * @author 杨充 * blog : https://github.com/yangchong211 * time : 2019/07/18 * desc : 文本内容变化监听 * revise: * </pre> */ public interface OnTextChangeListener { /** * 内容变化监听 * @param text 内容 */ void ...
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
YCCustomTextLib/src/main/java/com/ns/yc/yccustomtextlib/web/WebRichType.java
Java
package com.ns.yc.yccustomtextlib.web; public enum WebRichType { /** * 加粗 */ BOLD, ITALIC, SUBSCRIPT, SUPERSCRIPT, STRIKETHROUGH, UNDERLINE, H1, H2, H3, H4, H5, H6, ORDEREDLIST, UNORDEREDLIST, JUSTIFYCENTER, JUSTIFYFULL, JUSTUFYLEFT, ...
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
YCCustomTextLib/src/main/java/com/ns/yc/yccustomtextlib/web/WebViewRichEditor.java
Java
package com.ns.yc.yccustomtextlib.web; import android.annotation.SuppressLint; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Bitmap; import android.graphics.drawable.Drawable; import android.os.Build; import android.text.TextUtils; import android.util.AttributeSet; impo...
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
app/build.gradle
Gradle
apply plugin: 'com.android.application' android { compileSdkVersion 28 buildToolsVersion "27.0.3" defaultConfig { applicationId "com.ns.yc.yccustomtext" minSdkVersion 17 targetSdkVersion 28 versionCode 1 versionName "1.0" testInstrumentationRunner "android.su...
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
app/src/androidTest/java/com/ns/yc/yccustomtext/ExampleInstrumentedTest.java
Java
package com.ns.yc.yccustomtext; import android.content.Context; import android.support.test.InstrumentationRegistry; import android.support.test.runner.AndroidJUnit4; import org.junit.Test; import org.junit.runner.RunWith; import static org.junit.Assert.*; /** * Instrumentation test, which will execute on an Andro...
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
app/src/main/java/com/ns/yc/yccustomtext/AlignActivity.java
Java
package com.ns.yc.yccustomtext; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v7.app.AppCompatActivity; import android.widget.TextView; import com.yc.supertextlib.AlignTextView; import com.yc.supertextlib.BalanceTextView; public class AlignActivity extends AppCompatActi...
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
app/src/main/java/com/ns/yc/yccustomtext/ColorPickerView.java
Java
package com.ns.yc.yccustomtext; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.LinearGradient; import android.graphics.Paint; import android.graphics.Rect; import android.graph...
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
app/src/main/java/com/ns/yc/yccustomtext/CommonUtil.java
Java
package com.ns.yc.yccustomtext; import android.app.ActivityManager; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.net.Uri; import android.os.PowerManager; import android.util.DisplayMetrics; import android.util.Log; import android.view.WindowManager...
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
app/src/main/java/com/ns/yc/yccustomtext/MainActivity.java
Java
package com.ns.yc.yccustomtext; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.TextView; import com.ns.yc.yccustomtextlib.utils.HyperLogUtils; import com.pedaily.yc.ycdialoglib.toast.ToastUtils; public class M...
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
app/src/main/java/com/ns/yc/yccustomtext/ModelStorage.java
Java
package com.ns.yc.yccustomtext; import com.ns.yc.yccustomtextlib.edit.model.HyperEditData; import java.util.ArrayList; import java.util.List; /** * <pre> * @author yangchong * blog : https://github.com/yangchong211 * time : 2019/9/18 * desc : 数据缓冲区,替代intent传递大数据方案 * revise: * </pre> *...
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
app/src/main/java/com/ns/yc/yccustomtext/MyGlideEngine.java
Java
package com.ns.yc.yccustomtext; import android.content.Context; import android.graphics.drawable.Drawable; import android.net.Uri; import android.widget.ImageView; import com.bumptech.glide.Glide; import com.bumptech.glide.Priority; import com.zhihu.matisse.engine.ImageEngine; /** * 自定义Glide加载引擎,用于知乎图片选择器 */ publi...
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
app/src/main/java/com/ns/yc/yccustomtext/NewArticleActivity.java
Java
package com.ns.yc.yccustomtext; import android.content.Context; import android.content.Intent; import android.content.pm.ActivityInfo; import android.graphics.Bitmap; import android.graphics.Color; import android.net.Uri; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.annot...
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
app/src/main/java/com/ns/yc/yccustomtext/PermissionCallBack.java
Java
package com.ns.yc.yccustomtext; import android.content.Context; /** * <pre> * @author yangchong * blog : https://github.com/yangchong211 * time : 2019/9/10 * desc : 权限申请回调callback * revise: * </pre> */ public interface PermissionCallBack { /** * 拒绝权限 */ int REFUSE = ...
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
app/src/main/java/com/ns/yc/yccustomtext/PermissionUtils.java
Java
package com.ns.yc.yccustomtext; import android.Manifest; import android.annotation.SuppressLint; import android.content.Context; import android.content.Intent; import android.net.Uri; import android.support.v4.app.FragmentActivity; import com.tbruyelle.rxpermissions2.Permission; import com.tbruyelle.rxpermissions2.Rx...
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
app/src/main/java/com/ns/yc/yccustomtext/PreviewArticleActivity.java
Java
package com.ns.yc.yccustomtext; import android.graphics.Color; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.ImageView; import android.widget.TextView; import com.bumptech.glide.Glide; import com.n...
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
app/src/main/java/com/ns/yc/yccustomtext/SDCardUtil.java
Java
package com.ns.yc.yccustomtext; import android.content.ContentResolver; import android.content.Context; import android.database.Cursor; import android.graphics.Bitmap; import android.net.Uri; import android.os.Environment; import android.os.ParcelFileDescriptor; import android.provider.MediaStore; import java.io.File...
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
app/src/main/java/com/ns/yc/yccustomtext/TextActivity.java
Java
package com.ns.yc.yccustomtext; import android.content.Intent; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v7.app.AppCompatActivity; import android.widget.TextView; public class TextActivity extends AppCompatActivity { @Override protected void onCreate(@Nullab...
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
app/src/main/java/com/ns/yc/yccustomtext/TransformationScale.java
Java
package com.ns.yc.yccustomtext; import android.graphics.Bitmap; import android.widget.ImageView; import android.widget.RelativeLayout; import com.bumptech.glide.request.target.ImageViewTarget; /** * <pre> * @author 杨充 * blog : https://github.com/yangchong211 * time : 2016/3/31 * desc : Glide...
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
app/src/main/java/com/ns/yc/yccustomtext/WebDataActivity.java
Java
package com.ns.yc.yccustomtext; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.webkit.JavascriptInterface; import android.webkit.WebSettings; import android.webkit.WebView; import android.webkit.WebViewClient; imp...
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
app/src/main/java/com/ns/yc/yccustomtext/WebRichActivity.java
Java
package com.ns.yc.yccustomtext; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; import android.animation.ValueAnimator; import android.content.Intent; import android.content.pm.ActivityInfo; import android.graphics.Bitmap; import android.graphics.Color; import android.net.Uri; impo...
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
app/src/main/java/com/ns/yc/yccustomtext/WebTextActivity.java
Java
package com.ns.yc.yccustomtext; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.webkit.JavascriptInterface; import android.webkit.WebSettings; import android.webkit.WebView; import android.webkit.WebViewClient; imp...
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
app/src/test/java/com/ns/yc/yccustomtext/ExampleUnitTest.java
Java
package com.ns.yc.yccustomtext; import org.junit.Test; import static org.junit.Assert.*; /** * Example local unit test, which will execute on the development machine (host). * * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> */ public class ExampleUnitTest { @Test public void...
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
build.gradle
Gradle
// Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { google() jcenter() mavenCentral() maven { url 'https://jitpack.io' } } dependencies { classpath 'com.android.tools.build:gradle:3.2.0' ...
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
settings.gradle
Gradle
include ':app', ':YCCustomTextLib' include ':SuperTextLib'
yangchong211/YCCustomText
493
自定义文本控件,支持富文本,包含两种状态:编辑状态和预览状态。编辑状态中,可以对插入本地或者网络图片,可以同时插入多张有序图片和删除图片,支持图文混排,并且可以对文字内容简单操作加粗字体,设置字体下划线,支持设置文字超链接(超链接支持跳转),已经用于多个实际项目中……
Java
yangchong211
杨充
Tencent
android/build.gradle
Gradle
group 'com.utils.yc_flutter_utils' version '1.0' buildscript { ext.kotlin_version = '1.3.50' repositories { google() jcenter() } dependencies { classpath 'com.android.tools.build:gradle:3.5.0' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" } }...
yangchong211/YCFlutterUtils
255
Flutter Utils 全网最齐全的工具类。包含bus,颜色,日期,文件,json,log,sp,加解密,num,图片,网络,正则,验证,路由,文本,时间,spi,计时器,拓展类,编解码,发射,异常,字节转化,解析等等工具类。
Dart
yangchong211
杨充
Tencent
android/settings.gradle
Gradle
rootProject.name = 'yc_flutter_utils'
yangchong211/YCFlutterUtils
255
Flutter Utils 全网最齐全的工具类。包含bus,颜色,日期,文件,json,log,sp,加解密,num,图片,网络,正则,验证,路由,文本,时间,spi,计时器,拓展类,编解码,发射,异常,字节转化,解析等等工具类。
Dart
yangchong211
杨充
Tencent
android/src/main/java/com/utils/yc_flutter_utils/YcFlutterUtilsPlugin.java
Java
package com.utils.yc_flutter_utils; import androidx.annotation.NonNull; import io.flutter.embedding.engine.plugins.FlutterPlugin; import io.flutter.plugin.common.MethodCall; import io.flutter.plugin.common.MethodChannel; import io.flutter.plugin.common.MethodChannel.MethodCallHandler; import io.flutter.plugin.common....
yangchong211/YCFlutterUtils
255
Flutter Utils 全网最齐全的工具类。包含bus,颜色,日期,文件,json,log,sp,加解密,num,图片,网络,正则,验证,路由,文本,时间,spi,计时器,拓展类,编解码,发射,异常,字节转化,解析等等工具类。
Dart
yangchong211
杨充
Tencent
example/android/app/build.gradle
Gradle
def localProperties = new Properties() def localPropertiesFile = rootProject.file('local.properties') if (localPropertiesFile.exists()) { localPropertiesFile.withReader('UTF-8') { reader -> localProperties.load(reader) } } def flutterRoot = localProperties.getProperty('flutter.sdk') if (flutterRoot == ...
yangchong211/YCFlutterUtils
255
Flutter Utils 全网最齐全的工具类。包含bus,颜色,日期,文件,json,log,sp,加解密,num,图片,网络,正则,验证,路由,文本,时间,spi,计时器,拓展类,编解码,发射,异常,字节转化,解析等等工具类。
Dart
yangchong211
杨充
Tencent
example/android/app/src/main/java/com/utils/yc_flutter_utils_example/MainActivity.java
Java
package com.utils.yc_flutter_utils_example; import io.flutter.embedding.android.FlutterActivity; public class MainActivity extends FlutterActivity { }
yangchong211/YCFlutterUtils
255
Flutter Utils 全网最齐全的工具类。包含bus,颜色,日期,文件,json,log,sp,加解密,num,图片,网络,正则,验证,路由,文本,时间,spi,计时器,拓展类,编解码,发射,异常,字节转化,解析等等工具类。
Dart
yangchong211
杨充
Tencent
example/android/build.gradle
Gradle
buildscript { repositories { google() jcenter() } dependencies { classpath 'com.android.tools.build:gradle:3.5.0' } } allprojects { repositories { google() jcenter() } } rootProject.buildDir = '../build' subprojects { project.buildDir = "${rootProje...
yangchong211/YCFlutterUtils
255
Flutter Utils 全网最齐全的工具类。包含bus,颜色,日期,文件,json,log,sp,加解密,num,图片,网络,正则,验证,路由,文本,时间,spi,计时器,拓展类,编解码,发射,异常,字节转化,解析等等工具类。
Dart
yangchong211
杨充
Tencent
example/android/settings.gradle
Gradle
include ':app' def localPropertiesFile = new File(rootProject.projectDir, "local.properties") def properties = new Properties() assert localPropertiesFile.exists() localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) } def flutterSdkPath = properties.getProperty("flutter.sdk") assert flutterSd...
yangchong211/YCFlutterUtils
255
Flutter Utils 全网最齐全的工具类。包含bus,颜色,日期,文件,json,log,sp,加解密,num,图片,网络,正则,验证,路由,文本,时间,spi,计时器,拓展类,编解码,发射,异常,字节转化,解析等等工具类。
Dart
yangchong211
杨充
Tencent
example/android/settings_aar.gradle
Gradle
include ':app'
yangchong211/YCFlutterUtils
255
Flutter Utils 全网最齐全的工具类。包含bus,颜色,日期,文件,json,log,sp,加解密,num,图片,网络,正则,验证,路由,文本,时间,spi,计时器,拓展类,编解码,发射,异常,字节转化,解析等等工具类。
Dart
yangchong211
杨充
Tencent
example/ios/Runner/AppDelegate.h
C/C++ Header
#import <Flutter/Flutter.h> #import <UIKit/UIKit.h> @interface AppDelegate : FlutterAppDelegate @end
yangchong211/YCFlutterUtils
255
Flutter Utils 全网最齐全的工具类。包含bus,颜色,日期,文件,json,log,sp,加解密,num,图片,网络,正则,验证,路由,文本,时间,spi,计时器,拓展类,编解码,发射,异常,字节转化,解析等等工具类。
Dart
yangchong211
杨充
Tencent
example/ios/Runner/AppDelegate.m
Objective-C
#import "AppDelegate.h" #import "GeneratedPluginRegistrant.h" @implementation AppDelegate - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { [GeneratedPluginRegistrant registerWithRegistry:self]; // Override point for customization after application ...
yangchong211/YCFlutterUtils
255
Flutter Utils 全网最齐全的工具类。包含bus,颜色,日期,文件,json,log,sp,加解密,num,图片,网络,正则,验证,路由,文本,时间,spi,计时器,拓展类,编解码,发射,异常,字节转化,解析等等工具类。
Dart
yangchong211
杨充
Tencent
example/ios/Runner/main.m
Objective-C
#import <Flutter/Flutter.h> #import <UIKit/UIKit.h> #import "AppDelegate.h" int main(int argc, char* argv[]) { @autoreleasepool { return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); } }
yangchong211/YCFlutterUtils
255
Flutter Utils 全网最齐全的工具类。包含bus,颜色,日期,文件,json,log,sp,加解密,num,图片,网络,正则,验证,路由,文本,时间,spi,计时器,拓展类,编解码,发射,异常,字节转化,解析等等工具类。
Dart
yangchong211
杨充
Tencent
example/lib/main.dart
Dart
import 'package:flutter/material.dart'; import 'package:yc_flutter_utils/i18/localizations.dart'; import 'package:yc_flutter_utils/i18/template_time.dart'; import 'package:yc_flutter_utils/sp/sp_utils.dart'; import 'package:yc_flutter_utils/utils/flutter_init_utils.dart'; import 'package:yc_flutter_utils/except/handle_...
yangchong211/YCFlutterUtils
255
Flutter Utils 全网最齐全的工具类。包含bus,颜色,日期,文件,json,log,sp,加解密,num,图片,网络,正则,验证,路由,文本,时间,spi,计时器,拓展类,编解码,发射,异常,字节转化,解析等等工具类。
Dart
yangchong211
杨充
Tencent
example/lib/model/city.dart
Dart
import 'package:json_annotation/json_annotation.dart'; part 'city.g.dart'; @JsonSerializable() class City extends Object { @JsonKey(name: 'name') String name; City(this.name,); factory City.fromJson(Map<String, dynamic> srcJson) => _$CityFromJson(srcJson); Map<String, dynamic> toJson() => _$CityToJson(...
yangchong211/YCFlutterUtils
255
Flutter Utils 全网最齐全的工具类。包含bus,颜色,日期,文件,json,log,sp,加解密,num,图片,网络,正则,验证,路由,文本,时间,spi,计时器,拓展类,编解码,发射,异常,字节转化,解析等等工具类。
Dart
yangchong211
杨充
Tencent
example/lib/model/city.g.dart
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND part of 'city.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** City _$CityFromJson(Map<String, dynamic> json) { return City( j...
yangchong211/YCFlutterUtils
255
Flutter Utils 全网最齐全的工具类。包含bus,颜色,日期,文件,json,log,sp,加解密,num,图片,网络,正则,验证,路由,文本,时间,spi,计时器,拓展类,编解码,发射,异常,字节转化,解析等等工具类。
Dart
yangchong211
杨充
Tencent
example/lib/utils/bus_utils_page.dart
Dart
import 'dart:async'; import 'package:flutter/material.dart'; import 'package:yc_flutter_utils/bus/event_bus_helper.dart'; import 'package:yc_flutter_utils/bus/event_bus_service.dart'; class BusPage extends StatefulWidget { BusPage(); @override State<StatefulWidget> createState() { return new _DatePageS...
yangchong211/YCFlutterUtils
255
Flutter Utils 全网最齐全的工具类。包含bus,颜色,日期,文件,json,log,sp,加解密,num,图片,网络,正则,验证,路由,文本,时间,spi,计时器,拓展类,编解码,发射,异常,字节转化,解析等等工具类。
Dart
yangchong211
杨充
Tencent
example/lib/utils/byte_utils_page.dart
Dart
import 'dart:typed_data'; import 'package:flutter/material.dart'; import 'package:yc_flutter_utils/byte/byte.dart'; import 'package:yc_flutter_utils/byte/byte_array.dart'; import 'package:yc_flutter_utils/byte/byte_double_word.dart'; import 'package:yc_flutter_utils/byte/byte_utils.dart'; import 'package:yc_flutter_...
yangchong211/YCFlutterUtils
255
Flutter Utils 全网最齐全的工具类。包含bus,颜色,日期,文件,json,log,sp,加解密,num,图片,网络,正则,验证,路由,文本,时间,spi,计时器,拓展类,编解码,发射,异常,字节转化,解析等等工具类。
Dart
yangchong211
杨充
Tencent
example/lib/utils/color_utils_page.dart
Dart
import 'package:flutter/material.dart'; import 'package:yc_flutter_utils/color/color_utils.dart'; import 'package:yc_flutter_utils/date/data_formats.dart'; import 'package:yc_flutter_utils/date/date_utils.dart'; import 'package:yc_flutter_utils/encrypt/encrypt_utils.dart'; import 'package:yc_flutter_utils/object/obje...
yangchong211/YCFlutterUtils
255
Flutter Utils 全网最齐全的工具类。包含bus,颜色,日期,文件,json,log,sp,加解密,num,图片,网络,正则,验证,路由,文本,时间,spi,计时器,拓展类,编解码,发射,异常,字节转化,解析等等工具类。
Dart
yangchong211
杨充
Tencent
example/lib/utils/data_utils_page.dart
Dart
import 'package:flutter/material.dart'; import 'package:yc_flutter_utils/date/data_formats.dart'; import 'package:yc_flutter_utils/date/date_utils.dart'; class DatePage extends StatefulWidget { DatePage(); @override State<StatefulWidget> createState() { return new _DatePageState(); } } class _DatePage...
yangchong211/YCFlutterUtils
255
Flutter Utils 全网最齐全的工具类。包含bus,颜色,日期,文件,json,log,sp,加解密,num,图片,网络,正则,验证,路由,文本,时间,spi,计时器,拓展类,编解码,发射,异常,字节转化,解析等等工具类。
Dart
yangchong211
杨充
Tencent
example/lib/utils/encrypt_utils_page.dart
Dart
import 'package:flutter/material.dart'; import 'package:yc_flutter_utils/date/data_formats.dart'; import 'package:yc_flutter_utils/date/date_utils.dart'; import 'package:yc_flutter_utils/encrypt/encrypt_utils.dart'; class EncryptPage extends StatefulWidget { EncryptPage(); @override State<StatefulWidget> cre...
yangchong211/YCFlutterUtils
255
Flutter Utils 全网最齐全的工具类。包含bus,颜色,日期,文件,json,log,sp,加解密,num,图片,网络,正则,验证,路由,文本,时间,spi,计时器,拓展类,编解码,发射,异常,字节转化,解析等等工具类。
Dart
yangchong211
杨充
Tencent
example/lib/utils/extension_utils_page.dart
Dart
import 'package:flutter/material.dart'; import 'package:yc_flutter_utils/extens/extension_int.dart'; import 'package:yc_flutter_utils/extens/extension_list.dart'; import 'package:yc_flutter_utils/extens/extension_map.dart'; import 'package:yc_flutter_utils/num/num_utils.dart'; class ExtensionPage extends StatefulWid...
yangchong211/YCFlutterUtils
255
Flutter Utils 全网最齐全的工具类。包含bus,颜色,日期,文件,json,log,sp,加解密,num,图片,网络,正则,验证,路由,文本,时间,spi,计时器,拓展类,编解码,发射,异常,字节转化,解析等等工具类。
Dart
yangchong211
杨充
Tencent
example/lib/utils/file_utils_page.dart
Dart
import 'dart:convert'; import 'package:flutter/material.dart'; import 'package:yc_flutter_utils/file/file_utils.dart'; class FileStoragePage extends StatefulWidget { @override State<StatefulWidget> createState() => StorageState(); } class StorageState extends State<FileStoragePage> { bool isSuccess1 = false; ...
yangchong211/YCFlutterUtils
255
Flutter Utils 全网最齐全的工具类。包含bus,颜色,日期,文件,json,log,sp,加解密,num,图片,网络,正则,验证,路由,文本,时间,spi,计时器,拓展类,编解码,发射,异常,字节转化,解析等等工具类。
Dart
yangchong211
杨充
Tencent
example/lib/utils/get_it_page.dart
Dart
import 'package:flutter/material.dart'; import 'package:yc_flutter_utils/locator/get_it.dart'; import 'package:yc_flutter_utils/locator/get_it_helper.dart'; import 'package:yc_flutter_utils/log/log_utils.dart'; class GetItPage extends StatefulWidget { @override State<StatefulWidget> createState() { return n...
yangchong211/YCFlutterUtils
255
Flutter Utils 全网最齐全的工具类。包含bus,颜色,日期,文件,json,log,sp,加解密,num,图片,网络,正则,验证,路由,文本,时间,spi,计时器,拓展类,编解码,发射,异常,字节转化,解析等等工具类。
Dart
yangchong211
杨充
Tencent
example/lib/utils/i18_utils_page.dart
Dart
import 'package:flutter/material.dart'; import 'package:yc_flutter_utils/date/date_utils.dart'; import 'package:yc_flutter_utils/i18/template_time.dart'; import 'package:yc_flutter_utils/i18/extension.dart'; class I18Page extends StatefulWidget { I18Page(); @override State<StatefulWidget> createState() { ...
yangchong211/YCFlutterUtils
255
Flutter Utils 全网最齐全的工具类。包含bus,颜色,日期,文件,json,log,sp,加解密,num,图片,网络,正则,验证,路由,文本,时间,spi,计时器,拓展类,编解码,发射,异常,字节转化,解析等等工具类。
Dart
yangchong211
杨充
Tencent
example/lib/utils/image_utils_page.dart
Dart
import 'dart:io'; import 'package:flutter/material.dart'; import 'package:yc_flutter_utils/date/data_formats.dart'; import 'package:yc_flutter_utils/date/date_utils.dart'; import 'package:yc_flutter_utils/encrypt/encrypt_utils.dart'; import 'package:yc_flutter_utils/image/image_utils.dart'; import 'package:yc_flutte...
yangchong211/YCFlutterUtils
255
Flutter Utils 全网最齐全的工具类。包含bus,颜色,日期,文件,json,log,sp,加解密,num,图片,网络,正则,验证,路由,文本,时间,spi,计时器,拓展类,编解码,发射,异常,字节转化,解析等等工具类。
Dart
yangchong211
杨充
Tencent
example/lib/utils/json_utils_page.dart
Dart
import 'package:flutter/material.dart'; import 'package:yc_flutter_utils/json/json_utils.dart'; import 'package:yc_flutter_utils_example/model/city.dart'; class JsonUtilsPage extends StatefulWidget { @override State<StatefulWidget> createState() { return new JsonUtilsState(); } } class JsonUtilsState ext...
yangchong211/YCFlutterUtils
255
Flutter Utils 全网最齐全的工具类。包含bus,颜色,日期,文件,json,log,sp,加解密,num,图片,网络,正则,验证,路由,文本,时间,spi,计时器,拓展类,编解码,发射,异常,字节转化,解析等等工具类。
Dart
yangchong211
杨充
Tencent