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

Display endpoint list #10942

Merged
merged 38 commits into from
Oct 29, 2021
Merged

Conversation

JasonLiuZhuoCheng
Copy link
Contributor

Change overview

Display a list of endpoints on cluster-interaction screen. Now it is hard-coded to be 0 and 1. The endpoint list is implemented using recycler view. Also implemented customized onClickListener to go to cluster detail page after clicking on the endpoint list item.

Testing

manually tested.

@todo
Copy link

todo bot commented Oct 29, 2021

fill out parameter types }}

{{! TODO: fill out parameter types }}
{{#if (zcl_command_arguments_count this.id)}}
{{#if hasSpecificResponse}}
CommandParameterInfo {{asLowerCamelCase ../name}}{{asLowerCamelCase name}}CommandParameterInfo = new CommandParameterInfo("{{asUpperCamelCase ../name}}", ChipClusters.{{asUpperCamelCase ../name}}Cluster.{{asUpperCamelCase responseName}}Callback.class);


This comment was generated by todo based on a TODO comment in 1c859a5 in #10942. cc @JasonLiuZhuoCheng.

@JasonLiuZhuoCheng
Copy link
Contributor Author

@chrisdecenzo @Damian-Nordic @jelderton @jmartinez-silabs @saurabhst can you help review? Thanks!

@austinh0 austinh0 merged commit 9500e93 into project-chip:master Oct 29, 2021
bzbarsky-apple added a commit to bzbarsky-apple/connectedhomeip that referenced this pull request Oct 30, 2021
project-chip#10752 added a generated line
based on a template that project-chip#10942
had removed.
bzbarsky-apple added a commit that referenced this pull request Oct 30, 2021
#10752 added a generated line
based on a template that #10942
had removed.
PSONALl pushed a commit to PSONALl/connectedhomeip that referenced this pull request Dec 3, 2021
* basic code generation template, but not able to import to tool app

create new public class under chip/clusterinfo

* change package

* no error code generation

* new design solution

* need to wait for cast-helper

* callback generation done

* on/off commands working

* revert .idea changes

* one more .idea change revert

* remove outline.java

* Restyled by whitespace

* Restyled by google-java-format

* Restyled by gn

* Restyled by google-java-format

* fix merge

* merge conflict

* fix comments

* Restyled by gn

* resolve type, nullable and format comments

* resolve build issues

* Restyled by gn

* update zap generated file

* add descriptive documentation on each new class

* Restyled by google-java-format

* modify description of each new added class

* Restyled by google-java-format

* add . at the end of class description

* Restyled by google-java-format

* add recycler view to display endpoint

* recycler view for endpoint display and test cluster detail screen done

* change number of hard-coded enpoint to 2

* endpoint first draft done

* resolve conflict

* remove duplicate todo

* fix comments

* Restyled by whitespace

* resolve comments

* fix comments

Co-authored-by: Restyled.io <commits@restyled.io>
PSONALl pushed a commit to PSONALl/connectedhomeip that referenced this pull request Dec 3, 2021
project-chip#10752 added a generated line
based on a template that project-chip#10942
had removed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants