A list of the most common functionalities in Jekyll (Liquid). You can use Jekyll with GitHub Pages, just make sure you are using the proper version.
Running a local server for testing purposes:
| package cc.cubone.turbo.core.rom; | |
| import android.os.Build; | |
| import android.view.Window; | |
| import android.view.WindowManager; | |
| import java.lang.reflect.Field; | |
| import java.lang.reflect.Method; | |
| /** |
| package com.segmentfault.app.view; | |
| import android.content.Context; | |
| import android.support.v4.view.MotionEventCompat; | |
| import android.support.v4.view.NestedScrollingChild; | |
| import android.support.v4.view.NestedScrollingChildHelper; | |
| import android.support.v4.view.ViewCompat; | |
| import android.support.v4.widget.SwipeRefreshLayout; | |
| import android.util.AttributeSet; | |
| import android.view.MotionEvent; |
| /** | |
| * This class allows you to listen to when the user is entering the background (i.e. after a home button press, | |
| * or opening recent apps etc) and when the user resumes the application from the background. | |
| * | |
| * @author John McDonnell | |
| */ | |
| public class BetterActivityLifecycleCallbacks implements Application.ActivityLifecycleCallbacks { | |
| private int mForegroundActivities; |
| /* | |
| * Copyright 2015 Johannes Homeier | |
| * | |
| * Licensed under the Apache License, Version 2.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| * | |
| * Unless required by applicable law or agreed to in writing, software |
A list of the most common functionalities in Jekyll (Liquid). You can use Jekyll with GitHub Pages, just make sure you are using the proper version.
Running a local server for testing purposes:
| import com.android.volley.toolbox.HurlStack; | |
| import com.squareup.okhttp.OkHttpClient; | |
| import java.io.IOException; | |
| import java.net.HttpURLConnection; | |
| import java.net.URL; | |
| /** | |
| * An {@link com.android.volley.toolbox.HttpStack HttpStack} implementation which | |
| * uses OkHttp as its transport. | |
| */ |