A curated list of learning materials.
This cover what Flutter widgets is about
A curated list of learning materials.
This cover what Flutter widgets is about
硬骨頭 | |
雙重標準 | |
跳梁小丑 | |
虛張聲勢 | |
蠻橫無理 | |
淪為全世界笑柄 | |
毫無政治和道德底線 | |
撞在巨石上的臭雞蛋 | |
赤祼祼的霸權主義行徑 |
/** | |
* | |
* @param originalViewContainerWithViewStub | |
*/ | |
@CallSuper | |
protected fun afterViewStubInflated(originalViewContainerWithViewStub: View?) { | |
hasInflated = true | |
if (originalViewContainerWithViewStub != null) { | |
val pb = | |
originalViewContainerWithViewStub.findViewById<ProgressBar>(R.id.inflateProgressbar) |
override fun onCreateView( | |
inflater: LayoutInflater, | |
container: ViewGroup?, | |
savedInstanceState: Bundle? | |
): View? { | |
val view = inflater.inflate(R.layout.fragment_viewstub, container, false) | |
mViewStub = view.findViewById(R.id.fragmentViewStub) as ViewStub | |
mViewStub!!.layoutResource = getViewStubLayoutResource() | |
mSavedInstanceState = savedInstanceState |
package com.raymond.viewstubfragmentdemo | |
import android.os.Bundle | |
import androidx.annotation.CallSuper | |
import androidx.annotation.LayoutRes | |
import androidx.fragment.app.Fragment | |
import android.view.LayoutInflater | |
import android.view.View | |
import android.view.ViewGroup | |
import android.view.ViewStub |
愚蠢至極 | |
給人恥笑 | |
成事不足 | |
敗事有餘 | |
自廢武功 | |
步向結業 | |
自掘墳墓 | |
注定失敗 | |
壽終正寢 | |
關門大吉 |
#!/bin/sh | |
URL=$1 | |
OUTPUT=$2 | |
ffmpeg -user_agent "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/601.7.8 (KHTML, like Gecko) Version/9.1.3 Safari/537.86.7" -i "$URL" -c copy "$OUTPUT.mp4" |
We need to generate a unique SSH key for our second GitHub account.
ssh-keygen -t rsa -C "your-email-address"
Be careful that you don't over-write your existing key for your personal account. Instead, when prompted, save the file as id_rsa_COMPANY
. In my case, I've saved the file to ~/.ssh/id_rsa_work
.
<LinearLayout | |
android:width="wrap_content" | |
android:height="wrap_content" | |
android:descendantFocusability="false" | |
android:orientation="vertical"> | |
<PostView ... /> | |
<PublisherAdView ... /> | |
</LinearLayout> |