Skip to content

Instantly share code, notes, and snippets.

Mani smanikandan14

Block or report user

Report or block smanikandan14

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 Activity
Activity implements DatePickerDialog.OnDateSetListener {
int selectedIndex = 0;
int previousSelectedIndex = 0;
NavigationAdapter adapter;
onCreate() {
ArrayList<String> itemList = new ArrayList<String>();
View gist:a176433b5497fdeab452
private boolean replaceLocalFilePath(String relativeUrl, String localfilePath) {
boolean urlMatchFound = false;
String PATTERN = relativeUrl;
Pattern addressPattern = Pattern.compile(PATTERN, Pattern.CASE_INSENSITIVE);
Matcher matcher = addressPattern.matcher(downloadedData.toString());
int count = 0;
// Find the number of occurrences of relative url is found in html.
while (matcher.find()) {
smanikandan14 / gist:9777422
Last active Apr 19, 2018
Change action menu text item color actionbar compat.
View gist:9777422
Tried to follow the naming conventions as mentioned in
<style name="Theme.Styled" parent="@style/Theme.AppCompat.Light">
<item name="actionBarStyle">@style/Widget.Styled.ActionBar</item>
You can’t perform that action at this time.