get ContentValues for Long - Android android.content

Android examples for android.content:ContentValues

Description

get ContentValues for Long

Demo Code


//package com.java2s;
import android.content.ContentValues;

public class Main {
    private static ContentValues mConv;

    public static ContentValues getConvLong(String key, Long value) {
        if (mConv != null) {
            mConv = null;/*from  w  w  w  .  j av a2  s.  c o  m*/
        }
        mConv = new ContentValues();
        mConv.put(key, value);
        return mConv;
    }
}

Related Tutorials