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 broken headings in Markdown files #474

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
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ The goal of this project is to deliver a high performance replacement to `ListVi

Installing
---------------
###Maven
### Maven
Add the following maven dependency exchanging `x.x.x` for the latest release.
```XML
<dependency>
Expand All @@ -27,15 +27,15 @@ Add the following maven dependency exchanging `x.x.x` for the latest release.
</dependency>
```

###Gradle
### Gradle
Add the following gradle dependency exchanging `x.x.x` for the latest release.
```groovy
dependencies {
compile 'se.emilsjolander:stickylistheaders:x.x.x'
}
```

###Cloning
### Cloning
First of all you will have to clone the library.
```shell
git clone https://github.com/emilsjolander/StickyListHeaders.git
Expand All @@ -50,7 +50,7 @@ In the following dialog navigate to StickyListHeaders which you cloned to your c

Getting Started
---------------
###Base usage
### Base usage

Ok lets start with your activities or fragments xml file. It might look something like this.
```xml
Expand Down Expand Up @@ -148,7 +148,7 @@ public class MyAdapter extends BaseAdapter implements StickyListHeadersAdapter {

That's it! Look through the API docs below to get know about things to customize and if you have any problems getting started please open an issue as it probably means the getting started guide need some improvement!

###Styling
### Styling

You can apply your own theme to `StickyListHeadersListView`s. Say you define a style called `Widget.MyApp.ListView` in values/styles.xml:
```xml
Expand All @@ -169,7 +169,7 @@ You can then apply this style to all `StickyListHeadersListView`s by adding some
</resources>
```

###Expandable support
### Expandable support
Now, you can use `ExpandableStickyListHeadersListView` to expand/collapse subitems.
xml first
```xml
Expand Down Expand Up @@ -216,7 +216,7 @@ If you are Upgrading from a version prior to 2.x you might run into the followin

API
---
###StickyListHeadersAdapter
### StickyListHeadersAdapter
```java
public interface StickyListHeadersAdapter extends ListAdapter {
View getHeaderView(int position, View convertView, ViewGroup parent);
Expand All @@ -229,7 +229,7 @@ Your adapter must implement this interface to function with `StickyListHeadersLi
`getHeaderView()` works exactly like `getView()` in a regular `ListAdapter`.


###StickyListHeadersListView
### StickyListHeadersListView
Headers are sticky by default but that can easily be changed with this setter. There is of course also a matching getter for the sticky property.
```java
public void setAreHeadersSticky(boolean areHeadersSticky);
Expand Down