Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Services and characteristics list #92

Merged
merged 13 commits into from
Feb 5, 2020
Merged

Conversation

martawoldanska
Copy link
Collaborator

No description provided.

Copy link
Collaborator

@pawelByszewski pawelByszewski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing unit tests

example/lib/adapter/ble_adapter.dart Outdated Show resolved Hide resolved
example/lib/adapter/ble_adapter.dart Outdated Show resolved Hide resolved
example/lib/adapter/ble_adapter.dart Outdated Show resolved Hide resolved
example/lib/adapter/ble_adapter.dart Show resolved Hide resolved
example/lib/adapter/ble_adapter.dart Outdated Show resolved Hide resolved
example/lib/model/ble_service.dart Show resolved Hide resolved
TomoLV and others added 3 commits January 21, 2020 17:20
… example/services-list

# Conflicts:
#	example/lib/peripheral_details/components/peripheral_details_view.dart
@martawoldanska martawoldanska requested a review from TomoLV January 21, 2020 17:50
TomoLV
TomoLV previously approved these changes Jan 23, 2020
example/lib/adapter/ble_adapter.dart Show resolved Hide resolved
sliver: SliverToBoxAdapter(
child: BlocBuilder<PeripheralDetailsBloc, PeripheralDetailsState>(
builder: (context, state) {
return Column(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it redrawn when any of serviceState.expanded has been changed?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As far as I understand it, only the changed view will be redrawn. Whole column view would be rebuilt each time expanded state changes, but only changed part would be actually redrawn.

],
);
}

Widget _createServiceView(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am wondering, maybe it(Services view) should be extracted to separate view/widget/file?

@override
List<Object> get props => [index];

final int index;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

index of what? imho it should be more meaningful

@claassistantio
Copy link

claassistantio commented Jan 30, 2020

CLA assistant check
All committers have signed the CLA.

dariuszseweryn
dariuszseweryn previously approved these changes Feb 4, 2020
@dariuszseweryn dariuszseweryn dismissed their stale review February 4, 2020 14:28

I have only checked a small part

@martawoldanska martawoldanska merged commit f3f30be into master Feb 5, 2020
@mikolak mikolak deleted the example/services-list branch February 6, 2020 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants