To create an anchor to a heading in github flavored markdown.
Add - characters between each word in the heading and wrap the value in parens (#some-markdown-heading) so your link should look like so:
[create an anchor](#anchors-in-markdown)
| package bmutinda.com.androidutils.libs; | |
| import android.view.MotionEvent; | |
| import android.view.View; | |
| /** | |
| * Created by Mutinda Boniface on 7/5/2015. | |
| */ | |
| public class SwipeEvents implements View.OnTouchListener { | |
| private SwipeCallback swipeCallback; |
| public static String toISO8601UTC(Date date) { | |
| TimeZone tz = TimeZone.getTimeZone("UTC"); | |
| DateFormat df = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm'Z'"); | |
| df.setTimeZone(tz); | |
| return df.format(date); | |
| } | |
| public static Date fromISO8601UTC(String dateStr) { | |
| TimeZone tz = TimeZone.getTimeZone("UTC"); | |
| DateFormat df = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm'Z'"); |