- In general you want to try and put things in
onStart
andonStop
for logical start and stops.
- Dagger inject self into graph
- setContentView(R.layout.xxx)
- Butterknife.bind(this)
brew install hhvm --HEAD | |
==> Installing hhvm from hhvm/hhvm | |
==> Cloning https://github.com/facebook/hhvm.git | |
Updating /Users/francisco.estevez/Library/Caches/Homebrew/hhvm--git | |
==> Checking out branch master | |
Synchronizing submodule url for 'brotli/src' | |
Synchronizing submodule url for 'double-conversion' | |
Synchronizing submodule url for 'fastlz/src' | |
Synchronizing submodule url for 'fatal' | |
Synchronizing submodule url for 'folly/src' |
/* | |
* Copyright (C) 2015 The Android Open Source Project | |
* | |
* 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 writing, software |
launchctl unload /Library/LaunchAgents/org.macosforge.xquartz.startx.plist && \ | |
sudo launchctl unload /Library/LaunchDaemons/org.macosforge.xquartz.privileged_startx.plist && \ | |
sudo rm -rf /opt/X11* /Library/Launch*/org.macosforge.xquartz.* /Applications/Utilities/XQuartz.app /etc/*paths.d/*XQuartz && \ | |
sudo pkgutil --forget org.macosforge.xquartz.pkg && \ | |
rm -rf ~/.serverauth* && rm -rf ~/.Xauthorit* && rm -rf ~/.cache && rm -rf ~/.rnd && \ | |
rm -rf ~/Library/Caches/org.macosforge.xquartz.X11 && rm -rf ~/Library/Logs/X11 |
/** | |
* This class allows to inject into objects through a base class, | |
* so we don't have to repeat injection code everywhere. | |
* | |
* The performance drawback is about 0.013 ms per injection on a very slow device, | |
* which is negligible in most cases. | |
* | |
* Example: | |
* <pre>{@code |