Skip to content

Commit

Permalink
Feat: Optionally group results (#613)
Browse files Browse the repository at this point in the history
## Proposed Changes

  - Convert `ResultDetailActivity` to Kotlin.
- Remove `HeterogeneousRecyclerAdapter` and replace it with
`BaseExpandableListAdapter`
- Use a single `xml` file to capture the view as opposed to the 2 used
with `HeterogeneousRecyclerAdapter`
  - Deprecate `MeasurementPerfItem` and `MeasurementItem`

|`Collapsed group of items`|`Collapsed Item and Expanded group`|
`Grouped and non-group items display` |
|-|-|-|
|
![Screenshot_20230904_110024](https://github.com/ooni/probe-android/assets/17911892/050eee5a-3a6c-47fe-abf9-b1608afbf6e7)
|
![Screenshot_20230904_110034](https://github.com/ooni/probe-android/assets/17911892/541ca237-d352-49af-a19e-049425676a96)
|
![Screenshot_20230904_115620](https://github.com/ooni/probe-android/assets/17911892/ae64832a-e61a-4c02-87be-cf8f4cccc345)
|


|`Ungrouped items since just one test`|`Support for Different item
type`|
|-|-|
|
![Screenshot_20230903_093549](https://github.com/ooni/probe-android/assets/17911892/5c7569da-07c4-4195-8dd3-47fb9d64cae2)|
![Screenshot_20230903_093601](https://github.com/ooni/probe-android/assets/17911892/96d7c129-2044-4b58-a0f1-d55cf9f9abcf)
|
  • Loading branch information
aanorbel authored Dec 5, 2023
1 parent 87e854c commit 3b27a17
Show file tree
Hide file tree
Showing 9 changed files with 567 additions and 255 deletions.

This file was deleted.

Loading

0 comments on commit 3b27a17

Please sign in to comment.