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

Fix sub-headers in Readme #25

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Please take a look at the examples below:

This library can be used in two ways: using [standard Android methods][StandardMethodsPart] and using [Android Data Binding][DataBindingPart].

###Standard:
### Standard:

#### Step 1

Expand Down Expand Up @@ -74,7 +74,7 @@ it in [PicassoLoader][PicassoLoader] available in the avatar-view-picasso module
```AvatarPlaceholder``` constructor. More info about ```AvatarPlaceholder``` [here][AvatarPlaceholderInfo].


###Data Binding:
### Data Binding:

#### Step 1

Expand Down Expand Up @@ -144,7 +144,7 @@ into Android Data Binding</a> talk.

I have explained [PicassoLoader][PicassoLoader] issue in [step 3][Step3A] in Standard Method part.

####AvatarPlaceholder
#### AvatarPlaceholder

[AvatarPlaceholder][AvatarPlaceholder] is a ```Drawable``` which is set as a ```AvatarView``` background when the image
hasn't been loaded yet. It is a letter on a one-color background (just like in ex. Google, Youtube avatars).
Expand All @@ -153,7 +153,7 @@ sets how big part of the view is taken by the text. Default textSizePercentage i
those values by passing another ones in ```AvatarPlaceholder``` constructor or not directly by using IImageLoader
class methods/constructors.

####Additional information
#### Additional information

- Avatar background color is calculated using ```hashCode()``` method called on a given name ```String```.
- Default border width is ```2dp``` and default border color is ```white```.
Expand Down