Closed
Bug 737867
Opened 14 years ago
Closed 14 years ago
Apply ViewHolder pattern on AwesomeBar listviews
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox13 fixed, firefox14 fixed, blocking-fennec1.0 +)
RESOLVED
FIXED
Firefox 14
People
(Reporter: lucasr, Assigned: lucasr)
References
Details
Attachments
(3 files)
|
16.13 KB,
patch
|
mfinkle
:
review+
Margaret
:
feedback+
akeybl
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
|
4.64 KB,
patch
|
mfinkle
:
review+
akeybl
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
|
6.93 KB,
patch
|
mfinkle
:
review+
akeybl
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
This should give us a 4-5fps increase when scrolling awesomebar views due to the reduced number of findViewById() calls in each adapter.
| Assignee | ||
Comment 1•14 years ago
|
||
Attachment #607968 -
Flags: review?(mark.finkle)
| Assignee | ||
Comment 2•14 years ago
|
||
Attachment #607969 -
Flags: review?(mark.finkle)
| Assignee | ||
Comment 3•14 years ago
|
||
Attachment #607970 -
Flags: review?(mark.finkle)
| Assignee | ||
Updated•14 years ago
|
blocking-fennec1.0: --- → ?
| Assignee | ||
Comment 4•14 years ago
|
||
Comment on attachment 607968 [details] [diff] [review]
(1/3) Apply ViewHolder pattern in AwesomeBar's All/Bookmarks tabs
I'd like to get feedback from Margaret as she did a lot of work on the bookmarks adapter.
Attachment #607968 -
Flags: feedback?(margaret.leibovic)
Comment 5•14 years ago
|
||
Comment on attachment 607968 [details] [diff] [review]
(1/3) Apply ViewHolder pattern in AwesomeBar's All/Bookmarks tabs
This looks good to me. I was reading up on the ViewHolder pattern, and you seem to be following what I've seen.
Although I wrote this code, I'm wondering why we don't have an @Override tag on getItemViewType, since the things I've read talked about overriding getItemViewType if you're using multiple list item types.
Attachment #607968 -
Flags: feedback?(margaret.leibovic) → feedback+
Comment 6•14 years ago
|
||
Comment on attachment 607968 [details] [diff] [review]
(1/3) Apply ViewHolder pattern in AwesomeBar's All/Bookmarks tabs
Looks OK to me too. I had to "read up" on the ViewHolder pattern too :)
Attachment #607968 -
Flags: review?(mark.finkle) → review+
Updated•14 years ago
|
Attachment #607969 -
Flags: review?(mark.finkle) → review+
Updated•14 years ago
|
Attachment #607970 -
Flags: review?(mark.finkle) → review+
Updated•14 years ago
|
blocking-fennec1.0: ? → +
| Assignee | ||
Comment 7•14 years ago
|
||
Comment 8•14 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/9b69a0003faf
https://hg.mozilla.org/mozilla-central/rev/1b3fc8a81634
https://hg.mozilla.org/mozilla-central/rev/4cf5f398d6bf
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 14
| Assignee | ||
Comment 9•14 years ago
|
||
Comment on attachment 607970 [details] [diff] [review]
(3/3) Share same LayoutInflater instance in AwesomeBarTabs
Mobile only. Release blocker.
Attachment #607970 -
Flags: approval-mozilla-aurora?
| Assignee | ||
Comment 10•14 years ago
|
||
Comment on attachment 607968 [details] [diff] [review]
(1/3) Apply ViewHolder pattern in AwesomeBar's All/Bookmarks tabs
Mobile only. Release blocker.
Attachment #607968 -
Flags: approval-mozilla-aurora?
| Assignee | ||
Comment 11•14 years ago
|
||
Comment on attachment 607969 [details] [diff] [review]
(2/3) Apply ViewHolder pattern on AwesomeBar's History tab
Mobile only. Release blocker.
Attachment #607969 -
Flags: approval-mozilla-aurora?
Comment 12•14 years ago
|
||
Comment on attachment 607968 [details] [diff] [review]
(1/3) Apply ViewHolder pattern in AwesomeBar's All/Bookmarks tabs
[Triage Comment]
Mobile only & blocking Fennec 1.0. Approved for Aurora 13.
Attachment #607968 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Updated•14 years ago
|
Attachment #607969 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Updated•14 years ago
|
Attachment #607970 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 13•14 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/398778e61a9d
https://hg.mozilla.org/releases/mozilla-aurora/rev/4c2e0ab2fa4f
https://hg.mozilla.org/releases/mozilla-aurora/rev/07b68ea1083f
status-firefox13:
--- → fixed
status-firefox14:
--- → fixed
Updated•5 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•