Profile cover photo
Profile photo
Luis G. Valle (lgvalle)
393 followers -
null.toString()
null.toString()

393 followers
About
Posts

Post has attachment
I wrote about #testing persistence on Android.

How do you guys do it? I'd love to read your comments!

#androiddev

Post has attachment

Post has attachment
Just published at #materialdoc (.com & .es) AutocompleteTextView - http://www.materialdoc.com/autocomplete-view/ #androiddev

Post has attachment
Just published my first contribution to #MaterialDoc :)

A new post about Search Views is now available at

English  -> http://www.materialdoc.com/search-filter/
Spanish -> http://www.materialdoc.es/search-filter/

 #androiddev #material #tutorial

Post has attachment
#AndroidStudio     Tip of the day

Prevent ADB logcat window to open automatically every time you launch your app:

- Open: Run > Edit Configurations...
- Select Miscellaneous tab
- Untick Show logcat automatically
Photo

Post has attachment

Declutter your Android Studio:
- View / Enter Distraction Free Mode
- ⌘+1 to bring project tree back

Enjoy minimal UI!

... and to keep on navigating like a pro:
- Bring back tool buttons: ⌘⌘ (hold)
- Execute actions: ⌘ + ⇧ + A
- Open file: ⌘ +⇧ + O

Post has shared content
LOL
Dog.apk isn't responding.

Do you want to close it?

Wait | OK
Animated Photo

My custom LayouManager is broken

Latest version of RecyclerView broke down my custom LayoutManager.
This is why:

- After updating one of the adapter elements you call notifyItemChanged()
- This goes to to the RecyclerView and internally it executes this line of code: 

mLayout.onItemsUpdated(RecyclerView.this, op.positionStart, op.itemCount, op.payload);

The problem is that this method signature is new. Previously it was:

public void onItemsUpdated(RecyclerView recyclerView, int positionStart, int itemCount)

This method is still in place, but the RecyclerView is not calling it for item updates anymore.

So, if you rely on onItemsUpdated method override to do some  in your custom layoutmanager, double check it is still working

Post has attachment
Android Studio Trick

ALT + SPACE over a method to show its implementation in a modal window
Animated Photo
Wait while more posts are being loaded