1.28.2016

A Brief Introduction

According to Google Definition a RecyclerView is “A flexible view for providing a limited window into a large data set.” In a while it will replace the commonly used ListView, it can do more than a ListView but only using collaborator classes (usually a LayoutManager and an ItemAnimator)
If you want to increase the ListView performances you must rely on ViewHolder pattern which consists of a simple class that holds the references to the UI components for each row in the ListView (to lean more on how list recycling works, check out this video: https://www.youtube.com/watch?v=-VPM6ICgCk8)

A benefit in using RecyclerView is that it forces you to use the ViewHolder pattern. The ViewHolder design pattern enables you to access each list item view without the need for the look up, saving valuable processor cycles. Specifically, it avoids frequent call of findViewById() during ListView scrolling, and that will make it smooth. A ViewHolder object stores each of the component views inside the tag field of the Layout, so you can immediately access them without the need to look them up repeatedly.


The LayoutManager is responsible for measuring and positioning item views within a RecyclerView as well as determining the policy for when to recycle item views that are no longer visible to the user. By changing the LayoutManager a RecyclerView can be used to implement a standard vertically scrolling list, a uniform grid, staggered grids, horizontally scrolling collections and more

Presentation:
mobile is eating the world.

Benedict Evans' point of view, but it reflects very well the DuckMa one. Because mobile is revolutionizing technology industry, the internet and the broader economy. As Evan explained last summer to Andreessen Horowitz’s partners while in 2000 there were less than 500 millions people online, in the last years the number has reached 3 billions. Two of them have been online on mobile devices. The trend for 2020 sees all 3 billions people connected on mobile. Smartphone, therefore, are driving much greater internet penetration.

Motivation



 The growth of post pc devices is huge but mobile devices doesn’t only mean mobile. Indeed they are used everywhere, not just when people are “mobile”. For 20 years Internet has been synonymous of web browser, mouse and keyboard. Mobile ended that: in the USA half of time spent online is on smartphone apps. So the present is “I installed an App on my smartphone”. Smartphone that is much more sophisticated than computers and can interact with us in different ways (every sensor could kickstart a new


So mobile rises the opportunity of tech and internet. Let’s think about Facebook: mobile ads are now 68% of revenue and brought in 7,4 billions dollars in 2014. Or the WhatsApp boom: 20 billions sms a day and 30 billions WhatsApp messages (with just 40 engineers).

 Creating a custom Watch Face is very cool and makes you feel unique.

 
© Copyright 2016 Duckma Blog Theme by Name