зеркало из https://github.com/mozilla/gecko-dev.git
67ad36aff0
That way, the section headers (e.g. "Today", "Yesterday", "Last 7 days" etc.) blend better with the following item. The correct hiding of the divider depends on the view type reported for the respective RecylerView child items. Because the view type is stored a simple number, this means that any other RecylerView wanting to use this divider decoration implementation must use the same item types as the history panel in order to remain compatible, otherwise the divider could be unexpectedly hidden. Therefore, we rename the DividerItemDecoration to underline its intended usage scope. MozReview-Commit-ID: 8JUS6ke3RBL --HG-- rename : mobile/android/base/java/org/mozilla/gecko/widget/DividerItemDecoration.java => mobile/android/base/java/org/mozilla/gecko/widget/HistoryDividerItemDecoration.java extra : transplant_source : %E8%B7%8E%9F%C9%E5%CCmX%22r%D7%D2%8A%DF%2A%D0%83%9Bw |
||
---|---|---|
.. | ||
android | ||
locales |