This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Java Field Reflection | |
* Getting non-null members (fields) value from parent class using Java Reflection | |
* | |
* @author Dharmang Soni <[email protected]> | |
*/ | |
package com.reflection; | |
import java.lang.reflect.Field; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import android.app.AlertDialog; | |
import android.content.Context; | |
import android.graphics.Typeface; | |
import android.os.Bundle; | |
import android.view.LayoutInflater; | |
import android.view.View; | |
import android.view.WindowManager; | |
import android.widget.Button; | |
import android.widget.FrameLayout; | |
import android.widget.ScrollView; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import httplib2,random, json | |
odoo_url = 'SERVER_URL' | |
class OdooConnector: | |
context = {} | |
http = False | |
cookies = '' | |
def __init__(self): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
$.fn.listSwipe = function (options) { | |
var settings = $.extend({ | |
itemSelector: '>', // The item in the list that has the side actions | |
itemActionWidth: 80, // In pixels | |
leftAction: true, // Whether there is an action on the left | |
rightAction: true, // Whether there is an action on the right | |
snapThreshold: 0.8, // Percent threshold for snapping to position on touch end | |
snapDuration: 200, // Snap animation duration | |
closeOnOpen: true, // Close other item actions if a new one is moved |