-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from noties/v3
V3
- Loading branch information
Showing
223 changed files
with
8,491 additions
and
4,165 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
attempt at creating proper abstraction for re-usable view components across different contexts | ||
|
||
# Item | ||
* ~~Override `equals` when in RecyclerView and diff is used to detect if contents are the same~~ | ||
|
||
## ViewGroup | ||
* _if wrapping happens_, then diff must use a different logic, to check viewType properly and then id, | ||
currently class is compared directly | ||
|
||
## Wrapping | ||
* distinct viewType for a wrapping chain | ||
`Padding Margin Item` and `Margin Padding Item` are not the same | ||
`Padding Margin Item` and `Padding Item` are not the same | ||
* uniqueness of generated viewType combined with reliable generator that can | ||
be proven and does not rely on some randomness of hashcode | ||
|
Oops, something went wrong.