public class ItemOffsetDecoration extends RecyclerView.ItemDecoration {
private int mItemOffset;
public ItemOffsetDecoration(int itemOffset) {
mItemOffset = itemOffset;
}
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class HomeFragment : Fragment() { | |
private lateinit var scope: Scope | |
private lateinit var vm: HomeViewModel | |
@Inject lateinit var dialogDelegation: DialogDelegation | |
override fun onCreate(savedInstanceState: Bundle?) { | |
scope = Toothpick.openScopes(activity.application, activity, this) | |
scope.installModules(FragmentModule(this)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Script Name : fabfile.py | |
# Author : shikajiro | |
# Created : 2016-11-03 | |
# Last Modified : 2016-11-21 | |
# Version : 1.1.0 | |
# Modifications : | |
# Description : | |
# Script to perform the build of Android on another machine | |
# By performing such a build of severely time on another machine, | |
# it is possible to ensure the CPU resources of the development machine, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.pixite.fragment.widget; | |
import android.content.res.Resources; | |
import android.graphics.Canvas; | |
import android.graphics.ColorFilter; | |
import android.graphics.Rect; | |
import android.graphics.drawable.Drawable; | |
import android.graphics.drawable.Drawable.Callback; | |
import android.view.Gravity; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Convex Separator for libGDX Box2D | |
* | |
* Made by https://github.com/rakam | |
* This class is a libGDX version of the Antoan Angelov's work. | |
* It is designed to work with Erin Catto's Box2D physics library. | |
* | |
* Everybody can use this software for any purpose, under two restrictions: | |
* 1. You cannot claim that you wrote this software. | |
* 2. You can not remove or alter this notice. |