Skip to content

Instantly share code, notes, and snippets.

View Lackofa7742's full-sized avatar

Magdiel Lorenzo Lackofa7742

View GitHub Profile
@Aracem
Aracem / ParallaxPageTransformer.java
Last active March 8, 2023 17:28
Parallax transformer for ViewPagers that let you set different parallax effects for each view in your Fragments.
package com.aracem.utils.animations.pagetransformation;
import org.jetbrains.annotations.NotNull;
import android.support.v4.view.ViewPager;
import android.view.View;
import java.util.ArrayList;
import java.util.List;
@chrisbanes
chrisbanes / FloatLabelLayout.java
Last active March 15, 2024 06:39
FloatLabelLayout
/*
* Copyright 2014 Chris Banes
*
* 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
@pranayairan
pranayairan / androidShipwithDb.java
Created August 27, 2012 15:26
Code to use existing database in your android app
public class DataBaseHelper extends SQLiteOpenHelper{
//The Android's default system path of your application database.
//replace com.binarybricks.shippingwithsqllite with you Application package nae
//This should be same as which you used package section in your manifest
private static String DB_PATH = "/data/data/com.binarybricks.shippingwithsqllite/databases/";
//replace this with name of your db file which you copied into asset folder
private static String DB_NAME = "dexterology";