Skip to content

Instantly share code, notes, and snippets.

khatv911

  • Singapore
Block or report user

Report or block khatv911

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@rharter
rharter / InjectableActivityTestRule.kt
Last active Mar 22, 2019
Test Rule that allows you to use Dagger Android's automatic lifecycle based injection without making your Application class `open`, or overriding it in tests.
View InjectableActivityTestRule.kt
package com.pixite.pigment.testing
import android.app.Activity
import android.app.Application
import android.content.Context
import android.content.Intent
import android.os.Bundle
import androidx.fragment.app.Fragment
import androidx.fragment.app.FragmentActivity
import androidx.fragment.app.FragmentManager
@EQuimper
EQuimper / clear.txt
Created Jun 16, 2017
React-Native clear Watchman + Cache
View clear.txt
watchman watch-del-all && rm -rf node_modules/ && yarn cache clean && yarn install && yarn start -- --reset-cache
You can’t perform that action at this time.