Skip to content

Instantly share code, notes, and snippets.

View chydee's full-sized avatar
:octocat:

Desmond Ngwuta Chidiebere chydee

:octocat:
View GitHub Profile
@codinginflow
codinginflow / MainActivity.java
Created September 25, 2021 14:42
CountDownTimer Tutorial Part 3
package com.codinginflow.countdowntimerexample;
import android.content.SharedPreferences;
import android.os.CountDownTimer;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
@iRYO400
iRYO400 / ConnectivityMonitor.kt
Created April 30, 2020 09:41
Check Internet Connection [API21+][API29+ supported] Lifecycle aware
import android.content.Context
import android.content.Context.CONNECTIVITY_SERVICE
import android.net.ConnectivityManager
import android.net.Network
import android.net.NetworkCapabilities
import android.net.NetworkRequest
import androidx.lifecycle.Lifecycle
import androidx.lifecycle.LifecycleObserver
import androidx.lifecycle.LifecycleOwner
import androidx.lifecycle.OnLifecycleEvent
@pavangandhi
pavangandhi / Cover Letters
Created March 15, 2020 09:05
Upwork Cover Letters
# Cover Letter Sample on 3D Modeling /Design/CAD
Dear Hiring Manager,
Recently I studied all the details given in your job posting which was posted on ( Write down the name of the Freelancing Platform). From your job description, I came to understand that you need an expert 3D artist for your project. I would be highly happy to declare my candidacy for this post.
As you already know that Technical aptitude, sharp artistic talent, and productive team collaboration are all essential elements to be succeeded in 3D production and design. I am a highly skilled professional with more than seven years of experience developing and executing a wide variety of successful 3D design projects. Because of my reputed position in these work field, I am more than sure that I would be able to make a significant impact on your team as your next 3D Artist.
I would be happy to let you know that my background includes designing and delivering creative projects and also it includes services from concept through completion. I h
@riggaroo
riggaroo / PULL_REQUEST_TEMPLATE
Created February 3, 2019 14:34
Pull request template format. Add this file to your .github folder
<!--- Provide a general summary of your changes in the Title above -->
<!--- If there is no changelog entry, label this PR as trivial to bypass the Danger warning -->
## Description
<!--- Describe your changes in detail -->
## Motivation and Context
<!--- Why is this change required? What problem does it solve? -->
@lopspower
lopspower / README.md
Last active May 3, 2024 13:26
Hexadecimal color code for transparency

Hexadecimal color code for transparency

Twitter

How to set transparency with hex value ?

For example, you want to set 40% alpha transparence to #000000 (black color), you need to add 66 like this #66000000.

Download This sample on Google Play Store

@lopspower
lopspower / README.md
Last active May 11, 2022 02:47
Android Tools Attributes

Android Tools Attributes

Twitter

Android has a dedicated XML namespace intended for tools to be able to record information in XML files, and have that information stripped when the application is packaged such that there is no runtime or download size penalty. The namespace URI is http://schemas.android.com/tools and is usually bound to the tools: prefix:

<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
 android:layout_width="match_parent"
@udacityandroid
udacityandroid / TextView.java
Created June 15, 2015 18:23
Android for Beginners : Simplified TextView class
/**
* Displays text to the user.
*/
public class TextView extends View {
// String value
private String mText;
// Text color of the text
private int mTextColor;
anonymous
anonymous / activity_main.xml
Created April 8, 2015 22:18
RelativeLayout XML for Udacity quiz question
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="16dp">
<TextView
android:text="I’m in this corner"
android:layout_height="wrap_content"
android:layout_width="wrap_content"