Skip to content
This repository was archived by the owner on May 21, 2022. It is now read-only.

Android automatic refactor - ViewHolder#340

Merged
a-r-db merged 1 commit intosimple-last-fm-scrobbler:masterfrom
luiscruz:autorefactor-viewholder
May 21, 2018
Merged

Android automatic refactor - ViewHolder#340
a-r-db merged 1 commit intosimple-last-fm-scrobbler:masterfrom
luiscruz:autorefactor-viewholder

Conversation

@luiscruz
Copy link
Contributor

@luiscruz luiscruz commented Jan 6, 2017

Hi,

I am developing a tool to automatically refactor Android applications with the goal of improving energy efficiency.
This pull request has the changes generated while applying the rule "ViewHolder".

When developing list views, it is very common to repeat work in every item. Something very common is retrieving a field with the API method findViewById. There is a ViewHolder pattern that lets you reuse the work made in the previous computed item.

I have made a previous validation of the changes and they seem correct.
Please consider them and let me know if you agree with them.

Best,
Luis

@Nordblum
Copy link

Nordblum commented Apr 5, 2017

Refactoring is always welcome, hope this gets reviewed and merged ASAP.

@a-r-db a-r-db merged commit 52c57ae into simple-last-fm-scrobbler:master May 21, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants