wangvsa / simplehud Goto Github PK
View Code? Open in Web Editor NEWSimpleHUD is an easy to use yet beautiful HUD (or dialog) for Android.
License: MIT License
SimpleHUD is an easy to use yet beautiful HUD (or dialog) for Android.
License: MIT License
文字不是居中显示
当使用4.1.1系统时,会出现没找到方法问题
延时new 一个 线程是不是太low了
In net.xxx.app:1.0.0:1.
net.xxx.app.ui.activity.tweethas leaked:
GC ROOT static info.wangchen.simplehud.SimpleHUD.context
leaks net.xxx.app.ui.activity.tweetinstance
Retaining: 6.1 KB.
Reference Key: 920111b6-ef0d-471a-b446-f895f155a6c0
Device: HUAWEI HONOR KNT-AL20 KNT-AL20
Android Version: 7.0 API: 24 LeakCanary: 1.5.4 74837f0
Durations: watch=5020ms, gc=144ms, heap dump=7593ms, analysis=35531ms
Details:
Class info.wangchen.simplehud.SimpleHUD
| static DISMISS_DELAY_LONG = 6000
| static $change = null
| static serialVersionUID = 766806835797063982
| static $classOverhead = byte[652]@317166593 (0x12e79401)
| static DISMISS_DELAY_SHORT = 2000
| static dialog = null
| static context = net.xxx.app.ui.activity.tweet@323749376 (0x134c0600)
| static dismissDelay = 2000
| static DISMISS_DELAY_MIDIUM = 4000
| static handler = info.wangchen.simplehud.SimpleHUD$2@318834208 (0x13010620)
| static callback = null
Instance of net.xxx.app.ui.activity.tweet
| static serialVersionUID = -488994220139662558
| static $classOverhead = byte[4232]@316932097 (0x12e40001)
| static TAG = java.lang.String@319173232 (0x13063270)
| static $change = null
| content = java.lang.String@320384424 (0x1318ada8)
| forward_id = 1640
| image_url = java.lang.String@319904560 (0x13115b30)
| limitCount = 255
| limitcount = android.widget.TextView@323404800 (0x1346c400)
| loginclose = android.widget.ImageView@323409920 (0x1346d800)
| mTextWatcher = net.xxx.app.ui.activity.tweet$1@320263600 (0x1316d5b0)
| post = android.widget.Button@320007168 (0x1312ec00)
| source_content = java.lang.String@320384400 (0x1318ad90)
| source_content_tv = android.widget.TextView@320005120 (0x1312e400)
| source_id = 1362
| source_image_iv = android.widget.ImageView@320002048 (0x1312d800)
| source_image_url = java.lang.String@319904560 (0x13115b30)
| source_tweet_ll = android.widget.LinearLayout@320001024 (0x1312d400)
| source_user_image = null
| source_user_nickname = java.lang.String@320196512 (0x1315cfa0)
| source_user_nickname_tv = android.widget.TextView@320004096 (0x1312e000)
| tweet = android.widget.EditText@323408896 (0x1346d400)
| user_image_url = java.lang.String@320431232 (0x13196480)
| user_nickname = java.lang.String@319642848 (0x130d5ce0)
| allowDestroy = true
| allowFullScreen = true
| view = null
| mSkinInflaterFactory = solid.ren.skinlibrary.loader.SkinInflaterFactory@320263152 (0x1316d3f0)
| mActionBar = null
| mActionModeTypeStarting = 0
| mActivityInfo = android.content.pm.ActivityInfo@319910384 (0x131171f0)
| mActivityTransitionState = android.app.ActivityTransitionState@319422240 (0x1309ff20)
| mApplication = net.xxx.app.AppContext@315707072 (0x12d14ec0)
| mCalled = true
| mChangeCanvasToTranslucent = false
| mChangingConfigurations = false
| mComponent = android.content.ComponentName@320303088 (0x13176ff0)
| mConfigChangeFlags = 0
| mCurrentConfig = android.content.res.Configuration@319929640 (0x1311bd28)
| mCustActivity = android.app.HwCustActivityImpl@319475280 (0x130ace50)
| mDecor = null
| mDefaultKeyMode = 0
| mDefaultKeySsb = null
| mDestroyed = true
| mDoReportFullyDrawn = false
| mEatKeyUpEvent = false
| mEmbeddedID = null
| mEnableDefaultActionBarUp = false
| mEnterTransitionListener = android.app.SharedElementCallback$1@1894345336 (0x70e96a78)
| mExitTransitionListener = android.app.SharedElementCallback$1@1894345336 (0x70e96a78)
| mFinished = true
| mFragments = android.app.FragmentController@320263712 (0x1316d620)
| mHandler = android.os.Handler@319695168 (0x130e2940)
| mHasCurrentPermissionsRequest = false
| mIdent = 52253922
| mInstanceTracker = android.os.StrictMode$InstanceTracker@320263696 (0x1316d610)
| mInstrumentation = android.app.Instrumentation@316598664 (0x12dee988)
| mIntent = android.content.Intent@320458880 (0x1319d080)
| mIsFullFlag = false
| mLastNonConfigurationInstances = null
| mMainThread = android.app.ActivityThread@314593632 (0x12c05160)
| mManagedCursors = java.util.ArrayList@319475304 (0x130ace68)
| mManagedDialogs = null
| mMenuInflater = null
| mParent = null
| mReferrer = java.lang.String@321019424 (0x13225e20)
| mResultCode = 0
| mResultData = null
| mResumed = false
| mSearchEvent = null
| mSearchManager = null
| mStartedActivity = false
| mStopped = true
| mTaskDescription = android.app.ActivityManager$TaskDescription@319695200 (0x130e2960)
| mTemporaryPause = false
| mTitle = java.lang.String@316670184 (0x12e000e8)
| mTitleColor = 0
| mTitleReady = true
| mToken = android.os.BinderProxy@319848544 (0x13108060)
| mTranslucentCallback = null
| mUiThread = java.lang.Thread@1990055192 (0x769dd518)
| mVisibleBehind = false
| mVisibleFromClient = true
| mVisibleFromServer = true
| mVoiceInteractor = null
| mWindow = com.android.internal.policy.HwPhoneWindow@319860336 (0x1310ae70)
| mWindowAdded = true
| mWindowManager = android.view.WindowManagerImpl@319695360 (0x130e2a00)
| mInflater = com.android.internal.policy.HwPhoneLayoutInflater@320961408 (0x13217b80)
| mOverrideConfiguration = null
| mResources = android.content.res.HwResources@320961264 (0x13217af0)
| mTheme = android.content.res.Resources$Theme@320263360 (0x1316d4c0)
| mThemeResource = 2131623954
| mBase = android.app.ContextImpl@322812832 (0x133dbba0)
| shadow$klass = net.xxx.app.ui.activity.tweet
| shadow$monitor = 1073744564
Excluded Refs:
| Field: android.view.inputmethod.InputMethodManager.mNextServedView
| Field: android.view.inputmethod.InputMethodManager.mServedView
| Field: android.view.inputmethod.InputMethodManager.mServedInputConnection
| Field: android.view.textservice.SpellCheckerSession$1.this$0
| Field: android.view.Choreographer$FrameDisplayEventReceiver.mMessageQueue (always)
| Static field: android.gestureboost.GestureBoostManager.mContext
| Thread:FinalizerWatchdogDaemon (always)
| Thread:main (always)
| Thread:LeakCanary-Heap-Dump (always)
| Class:java.lang.ref.WeakReference (always)
| Class:java.lang.ref.SoftReference (always)
| Class:java.lang.ref.PhantomReference (always)
| Class:java.lang.ref.Finalizer (always)
| Class:java.lang.ref.FinalizerReference (always)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.