Skip to content

do not need to find service when service finded #4

Open

Description

@zhuantouer

in org.zpcat.ble.ui.central.CentralDetailsActivity.displayGattServices(): displayGATTServices :
when connected to a GATT server and get the services and characteristics, it is no need to
re-find the service again. I test it on nexus 5, when get into org.zpcat.ble.ui.central.CentralDetailsActivity
the UI always find the service and refresh, cannot click and trigger the listener on the characteristic list.

Activity

  1. suzp1984 commented on Jul 6, 2016

    @suzp1984
    Owner

    get it, the UI always to refresh. This is much more a UI design issue.
    I will solve this after I have spare time.

  2. suzp1984 commented on Jul 6, 2016

    @suzp1984
    Owner

    oh, Another issue this CentralDetailsActivity:
    No need following codes since it used ButterKnife View injection.

            mConnectionState = (TextView) findViewById(R.id.connection_state);
            mDataField = (TextView) findViewById(R.id.data_value);
            mRssiField = (TextView) findViewById(R.id.signal_rssi);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions