Skip to content

Commit

Permalink
chore: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
therajanmaurya authored Mar 22, 2018
1 parent b5a889e commit 8d771a4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Library for passcode implementation along with an optional additional feature to

For a basic implementation of the PassCode Screen

```
```java
public class PassCodeActivity extends MifosPassCodeActivity {

@Override
Expand Down Expand Up @@ -47,7 +47,7 @@ There are 4 different types of encryption methods available with respect to our
- FINERACT_CN

To access the passcode stored use `PasscodePreferencesHelper`
```
```java
PasscodePreferencesHelper pref = new PasscodePreferencesHelper(context);
pref.getPassCode();// it will return encrypted passcode according to the encryption type chosen.

Expand All @@ -57,7 +57,7 @@ pref.getPassCode();// it will return encrypted passcode according to the encrypt

Create a `BaseActivity` which should extend `BasePassCodeActivity` and extend this class for all your activities

```
```java
public class BaseActivity extends BasePassCodeActivity {

@Override
Expand All @@ -71,7 +71,7 @@ public class BaseActivity extends BasePassCodeActivity {

In your application class add:

```
```java
public class MifosApplication extends Application {

@Override
Expand All @@ -83,4 +83,4 @@ public class MifosApplication extends Application {
}
```

For complete example click <a href="https://github.com/openMF/mobile-passcode/tree/master/app/src/main">here</a>
For complete example click <a href="https://github.com/openMF/mobile-passcode/tree/master/app/src/main">here</a>

0 comments on commit 8d771a4

Please sign in to comment.