Results of some experiments to determine which Activity lifecycle methods get called in certain situations.
Launch:
- activity.onCreate()
- activity.onStart()
- activity.onResume()
- activity.onWindowFocusChanged(true)
name: CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build_web: |
brew install ffmpeg
ffmpeg -i my-video.mov -vcodec h264 -acodec mp2 my-video.mp4
private static boolean isAndroidModule(Project project) { | |
boolean isAndroidLibrary = project.plugins.hasPlugin('com.android.library') | |
boolean isAndroidApp = project.plugins.hasPlugin('com.android.application') | |
return isAndroidLibrary || isAndroidApp | |
} | |
afterEvaluate { project -> | |
def projectName = project.name | |
if (isAndroidModule(project)) setupAndroidReporting() | |
else setupKotlinReporting() |
Use gh v0.11.0 or later for the "shell" aliases.
Run the following gh alias set
commands for each operation. You can confirm the created aliases with gh alias list
.
gh alias set listMilestones "api graphql -F owner=':owner' -F name=':repo' -f query='
query ListMilestones(\$name: String\!, \$owner: String\!) {
repository(owner: \$owner, name: \$name) {
milestones(first: 100) {