Profile cover photo
Profile photo
Jacob Tabak
203 followers
203 followers
About
Jacob's posts

Post has shared content
Really digging non-suspending breakpoints in Android Studio. This lets you log to the console without pausing execution; it's great when debugging interactions like scrolling where pausing is really disruptive. You can also update your logged info without having to recompile/deploy.

Right click on a breakpoint (or ⇧+⌘/Ctrl+F8) and untick suspend, i've found the 'Log evaluated expression' helpful.

Think I heard this in this excellent talk but only recently started using it:
https://www.youtube.com/watch?v=Y2GC6P5hPeA&list=PLWz5rJ2EKKc_Tt7q77qwyKRgytF1RzRx8&index=18

Try it out. #AndroidDev #ProductivityMatters
Photo

Post has shared content
Android Support Library 22.2.1 available now
This release is focused on product quality and stability, with a healthy dose of bugs and edge cases now fixed, particularly for users of the Android Design Library (http://goo.gl/ZgmA99) introduced in version 22.2.0.

You’ll also find a number of API improvements as well:
- FloatingActionButton’s new show() and hide() methods to allow triggering the appropriate animations programmatically
- Snackbar gains LENGTH_INDEFINITE for continuing to show a Snackbar until it is dismissed or another Snackbar is shown
- TabLayout now allows you to retrieve the currently selected tab via getSelectedTabPosition()
- NotificationCompat.MediaStyle now uses a fully fluent API, allowing chaining methods together
- RecyclerView’s SortedList now has convenience methods to batch insert items

Please continue to file any Support Library bugs at https://goo.gl/QHIwpH

Post has shared content
I won't lie, I didn't expect this deal to get blocked, however much it was an obviously harmful merger.

But this is a particularly interesting analysis.

http://www.newyorker.com/business/currency/death-of-comcast-time-warner-deal

Post has attachment
How do you inject dependencies into your Android project that need qualifiers?  Why? #androiddev  
4 votes
-
votes visible to Public
50%
@Inject @Named(CONSTANT_FIELD_NAME)
50%
@Inject @CustomAnnotation

Post has shared content
New version of the Android Testing Support Library[0]

The release includes two major additions:
Espresso-Intents[1]: a Mockito-like API that enables hermetic inter-activity testing by allowing test authors to verify and stub outgoing intents.
Test Rules[2]: a set of Junit4 rules that replace ancient framework APIs like ActivityInstrumentationTestCase2 and ServiceTestCase.

All samples have been updated and a set of Espresso-Intents samples[3] has been added to help you get started.

Of course, we have also squashed some reported bugs and addressed minor feature requests from android-test-kit[4]. See release notes[5] and javadoc[6] for details.

Happy testing from the ATSL team +Valera Zakharov +Nick Korostelev +Jose Alcérreca and +Stephan Linzner 

#AndroidDev #AndroidTesting

[0] https://developer.android.com/tools/testing-support-library/index.html
[1] https://code.google.com/p/android-test-kit/wiki/EspressoIntentsSetupInstructions
[2] https://code.google.com/p/android-test-kit/wiki/JUnit4RulesInATSL
[3] https://github.com/googlesamples/android-testing/tree/master/espresso/IntentsBasicSample
[4] https://code.google.com/p/android-test-kit/issues/list
[5] https://code.google.com/p/android-test-kit/wiki/ReleaseNotes
[6] https://developer.android.com/reference/android/support/test/espresso/package-summary.htm
Photo

Post has attachment
+Alex Ruiz​ timehop needs integration with the google bug tracker amiright?

Post has attachment
#androidstudio  now experimentally supports unit testing. #androiddev  
Photo

Post has shared content
Check the configuration at runtime and use a linear layout manager if width < n and a grid layout manager otherwise. 
Need help !
How couod I make a layout manager for a recyclerview that make cards appear in one column on small screen and multi column on larger ones and tablets ...
Thanks 

Post has attachment
We've put together an awesome site to showcase our open source libraries at Timehop - including our sticky headers library for RecyclerView (Android), as well a bunch of our backend tools (written in Go)

http://garage.timehop.com/
Wait while more posts are being loaded