From 2548979f0e0bebb60a5c81bb4d3a3020ce740e9e Mon Sep 17 00:00:00 2001 From: Gilbert Kimutai Date: Thu, 21 Feb 2019 06:20:07 +0300 Subject: [PATCH 1/2] Update README.md --- README.md | 50 +++++++++++++++++++++++++------------------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/README.md b/README.md index 15289b5..2228291 100644 --- a/README.md +++ b/README.md @@ -15,40 +15,40 @@ Please note that files are still being moved around - the project should be stab Step 1. Add the JitPack repository to your build file ```xml - - - jitpack.io - https://jitpack.io - - + + + jitpack.io + https://jitpack.io + + ``` Step 2. Add the dependency ```xml - com.github.gilokimu - woodroid - 0.1.0 - + com.github.gilokimu + woodroid + 0.1.0 + ``` ### Gradle dependency: Step 1. Add the JitPack repository to your build file ```xml - allprojects { - repositories { - ... - maven { url 'https://jitpack.io' } - } +allprojects { + repositories { + ... + maven { url 'https://jitpack.io' } } +} ``` Step 2. Add the dependency ```xml - dependencies { - implementation 'com.github.gilokimu:woodroid:0.1.0' - } +dependencies { + implementation 'com.github.gilokimu:woodroid:0.1.0' +} ``` ## Getting started @@ -63,19 +63,19 @@ Check out the WooCommerce API endpoints and data that can be manipulated in > { +woocommerce.ProductRepository().products().enqueue(object : Callback> { override fun onResponse(call: Call>, response: Response>) { val productsResponse = response.body() for (product in productsResponse!!) { From d23dde5d2a3ce109626084218951ad8952d12b05 Mon Sep 17 00:00:00 2001 From: Gilbert Kimutai Date: Thu, 21 Feb 2019 06:20:56 +0300 Subject: [PATCH 2/2] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2228291..77d958d 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ Step 2. Add the dependency ### Gradle dependency: Step 1. Add the JitPack repository to your build file -```xml +```gradle allprojects { repositories { ... @@ -45,7 +45,7 @@ allprojects { ``` Step 2. Add the dependency -```xml +```gradle dependencies { implementation 'com.github.gilokimu:woodroid:0.1.0' }