/*
standard MessageDigest algorithms:
- Oct 01 Tue 2019 11:24
Certificate
- Jul 19 Fri 2019 10:45
Android View.getDrawingCache() is deprecated in Android API 28
interface onScreenShotFinishedListener
{
- Jul 17 Wed 2019 09:54
Android 個資遮蔽setTransformationMethod
TextView.setTransformationMethod(new PersonalCapitalTransformationMethod(5, 12, '*'));
class PersonalCapitalTransformationMethod extends PasswordTransformationMethod
- Jul 11 Thu 2019 10:13
Android 傅立葉級數Reconnect Interval
public class ReconnectInterval
{
- Jul 11 Thu 2019 09:59
Android Gesture計算角度
double dbAngle = Math.abs(
180 * Math.atan2((e1.getY() - e2.getY()), (e2.getX() - e1.getX())) / Math.PI);
- Jul 10 Wed 2019 16:50
StackTraceElement
StringBuilder tStringBuilder = new StringBuilder();
StackTraceElement[] tStackTraceElement = new Throwable().getStackTrace();
- Jul 02 Tue 2019 15:15
Android OKHttp 進階設定 MaxRequests ConnectionPool ThreadPool
//執行緒池
Dispatcher dispatcher = new Dispatcher(
- Jul 02 Tue 2019 15:14
Android Migrate to Androidx 之後 layout_behavior
layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior"
layout_behavior="com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior"
- Jul 01 Mon 2019 13:56
Android RecycleView Scroll Control
RecyclerView 提供相當多種控制Scroll的方法
1.scrollBy(int x, int y)
- Jul 01 Mon 2019 09:53
Android解決AppBarLayout無法滑動問題
AppBarLayout無法滑動時可透過設定DragCallback解決此問題
CoordinatorLayout.LayoutParams tParams = (CoordinatorLayout.LayoutParams) m_AppBarLayout.getLayoutParams();