Skip to content

Commit

Permalink
Update the README for v0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
christianrowlands committed Jul 17, 2023
1 parent 48673d2 commit 642e333
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ The MQTT Connection Library provides a simple connection UI as well as logic to
It is important to note that the pieces provided in the library cannot stand on their own. Most classes are to be extended or implemented, as an "MQTT Connection" relies on a service that drives the logic using the connection. We will go over the correct way to wire everything together below.
1. Ensure that the correct version of the library is included in the consuming project's `build.gradle` file, under its dependencies:<br><br>
```
implementation 'com.craxiom:mqttlibrary:0.4.5'
implementation 'com.craxiom:mqttlibrary:0.6.0'
```
2. Next, for the connection UI, the `fragment_mqtt_connection` is readily available under `res/layout`; however, `AConnectionFragment` must still be extended, or `DefaultConnectionFragment`.<br>Note: Users can extend the latter if they do not wish to add extra UI components. Otherwise, extend `AConnectionFragment`, which contains methods marked with "additional" in their names and <i>must</i> be overridden in the child class.<br>
&ensp; a. Whichever fragment ends up being extended, it will require a binder parameter. This binder should extend the provided `AConnectionFragment#ServiceBinder` in order to be recognized. Likely, this binder will be located in the `IMqttService` implementation of the consuming project.
Expand All @@ -25,7 +25,7 @@ It is important to note that the pieces provided in the library cannot stand on


## Change log
##### 0.6.0 - 2023-07-17
##### [0.6.0](https://github.com/christianrowlands/android-mqtt-connection-lib/releases/tag/v0.6.0) - 2023-07-17
* Overload the publishMessage method to enable sending plain JSON strings.

##### [0.5.0](https://github.com/christianrowlands/android-mqtt-connection-lib/releases/tag/v0.5.0) - 2022-10-25
Expand Down

0 comments on commit 642e333

Please sign in to comment.