Skip to content

Instantly share code, notes, and snippets.

rafaelsm

Block or report user

Report or block rafaelsm

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
View netshoes_challenge.txt
# mobile-recruitament
The app need to be written in Java, Kotlin or both
App Description
- The app must list all public gist with pagination (the number of gists per page is up to you)
- Each gist must show author name with avatar, Gist title and language
- Show gist details in another screen (Fragment or Activity), with the following infos: author name with avatar, gist title and language
- Display raw file content in another screen
- Must have an option to save the gist as favorite (device storage)
@rafaelsm
rafaelsm / XposedUtils.java
Created Nov 28, 2018 — forked from jaredrummler/XposedUtils.java
Utility methods for checking if the Xposed framework is installed.
View XposedUtils.java
/*
* Copyright (C) 2016 Jared Rummler <jared.rummler@gmail.com>
*
* 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
View gist:c302c95c106e4cbb6f606d4e6537ae28
DateTime.ToString() Patterns
All the patterns:
0 MM/dd/yyyy 08/22/2006
1 dddd, dd MMMM yyyy Tuesday, 22 August 2006
2 dddd, dd MMMM yyyy HH:mm Tuesday, 22 August 2006 06:30
3 dddd, dd MMMM yyyy hh:mm tt Tuesday, 22 August 2006 06:30 AM
4 dddd, dd MMMM yyyy H:mm Tuesday, 22 August 2006 6:30
5 dddd, dd MMMM yyyy h:mm tt Tuesday, 22 August 2006 6:30 AM
@rafaelsm
rafaelsm / Android SwitchPlusClickPreference
Created Aug 9, 2018 — forked from marchold/Android SwitchPlusClickPreference
extension of SwitchPreference that allows you to add a click handler to the preference area as well as the switch. For making switch preferences that work like Android WiFi settings.
View Android SwitchPlusClickPreference
import android.content.Context;
import android.preference.SwitchPreference;
import android.util.AttributeSet;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Switch;
/**
* Custom preference for handling a switch with a clickable preference area as well
@rafaelsm
rafaelsm / EditTextMatchers.java
Created Oct 10, 2016 — forked from JehandadK/EditTextMatchers.java
Espresso: Match EditText error text
View EditTextMatchers.java
package smuldr.espresso.util;
import android.content.res.Resources;
import android.support.test.espresso.matcher.BoundedMatcher;
import android.view.View;
import android.widget.EditText;
import org.hamcrest.Description;
import org.hamcrest.Matcher;
import org.hamcrest.Matchers;
View ImagePicker.java
/**
* Copyright 2013 Alex Yanchenko
*
* 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
You can’t perform that action at this time.