This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Send adb commands to all connected devices. | |
# | |
# Usage: adb-all COMMANDS | |
# | |
adb devices | tail -n +2 | cut -sf 1 | xargs -I {} adb -s {} $@ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function NestedScrollViewManager (parent_view, child_views) | |
{ | |
// Appcelerator Titanium code for managing scrollviews inside of scrollviews (not true Android | |
// NestedScrollViews, but just a horizontal scrollview inside of a vertical scrollview). | |
// | |
// If you want to put a horizontal scrollview inside a vertical scrollview (like the Netflix app UI), | |
// it seems to work reasonably well on iOS. But on android, the user experience is very janky. | |
// Unless the user's drag movements are nearly exactly horizontal, there will be some movement of | |
// the parent scrollview, and then it becomes very difficult to scroll the child view. Flinging is | |
// almost impossible. |