Skip to content

Instantly share code, notes, and snippets.

View ebnrdwan's full-sized avatar
👨‍💻
Techy

Abdulrahman Rudwan ebnrdwan

👨‍💻
Techy
  • Vodafone UK
  • cairo
View GitHub Profile
/*
* Copyright 2016 Google Inc.
*
* 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
package com.example.mohamedhamdy.courses.Adapter;
import android.content.Context;
import android.content.Intent;
import android.support.v7.widget.RecyclerView;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
@ebnrdwan
ebnrdwan / SQLiteHandler.java
Created April 2, 2018 08:14
Sqlite Database Sample
/**
* Author: Ravi Tamada
* URL: www.androidhive.info
* twitter: http://twitter.com/ravitamada
*/
package LoingSession;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
@ebnrdwan
ebnrdwan / ItemclickforRecycler.java
Created April 3, 2018 20:25
ItemClickForRecyclerView
package ebnrdwan.io.parentalApp.Utilities;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import ebnrdwan.io.parentalApp.R;
/**
* Created by ascom on 17/04/2016.
<?xml version="1.0" encoding="utf-8"?>
<resources>
<item name="item_click_support" type="id" />
</resources>
package ebnrdwan.app.android.BaghdadOfficer.AddRequestOfficer;
import android.Manifest;
import android.app.AlertDialog;
import android.app.Dialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
package ebnrdwan.io.parentalApp.Utilities.CustomWidgets;
import android.content.Context;
import android.util.AttributeSet;
import android.view.ViewGroup;
import android.widget.ListView;
public class ExpandableHeightListView extends ListView {
boolean expanded = true;
package ebnrdwan.io.parentalApp.Utilities.CustomWidgets;
import android.content.Context;
import android.util.AttributeSet;
import android.view.ViewGroup;
import android.widget.ListView;
public class ExpandableHeightListView extends ListView {
boolean expanded = true;
@ebnrdwan
ebnrdwan / DeCryptor.java
Created August 15, 2018 15:03 — forked from JosiasSena/DeCryptor.java
Encryptor and Decryptor for data encryption.decryption using the Android KeyStore.
/**
_____ _____ _
| __ \ / ____| | |
| | | | ___| | _ __ _ _ _ __ | |_ ___ _ __
| | | |/ _ \ | | '__| | | | '_ \| __/ _ \| '__|
| |__| | __/ |____| | | |_| | |_) | || (_) | |
|_____/ \___|\_____|_| \__, | .__/ \__\___/|_|
__/ | |
|___/|_|
*/