Skip to content

Instantly share code, notes, and snippets.

View m4xp1's full-sized avatar
🚀
stronger, higher, faster

Dmitrii Makarov m4xp1

🚀
stronger, higher, faster
View GitHub Profile
/** Пример использования */
class MainActivity : AppCompatActivity(R.layout.activity_main) {
@Inject lateinit var fragmentFactory: FragmentFactory
override fun onCreate(savedInstanceState: Bundle?) {
DaggerActivityComponent
.factory()
.create()
.inject(this)
@m4xp1
m4xp1 / Entry.java
Created May 22, 2018 18:30 — forked from mpost/Entry.java
Android application demonstrating the usage of ViewOverlay and OnPreDrawListener to achieve animations effects.
package com.example.overlay;
public class Entry {
private final int imageResId;
private final String title;
public Entry( int imageResId, String title ) {
this.imageResId = imageResId;