android.os.Bundle.putSizeF()方法的使用及代码示例

x33g5p2x  于2022-01-16 转载在 其他  
字(1.9k)|赞(0)|评价(0)|浏览(110)

本文整理了Java中android.os.Bundle.putSizeF()方法的一些代码示例,展示了Bundle.putSizeF()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Bundle.putSizeF()方法的具体详情如下:
包路径:android.os.Bundle
类名称:Bundle
方法名:putSizeF

Bundle.putSizeF介绍

暂无

代码示例

代码示例来源:origin: ogaclejapan/SmartTabLayout

/**
 * Inserts a SizeF value into the mapping of this Bundle, replacing
 * any existing value for the given key.  Either key or value may be null.
 *
 * @param key   a String, or null
 * @param value a SizeF object, or null
 */
@TargetApi(21)
public Bundler putSizeF(String key, SizeF value) {
 bundle.putSizeF(key, value);
 return this;
}

代码示例来源:origin: ogaclejapan/SmartTabLayout

/**
 * Inserts a SizeF value into the mapping of this Bundle, replacing
 * any existing value for the given key.  Either key or value may be null.
 *
 * @param key   a String, or null
 * @param value a SizeF object, or null
 */
@TargetApi(21)
public Bundler putSizeF(String key, SizeF value) {
 bundle.putSizeF(key, value);
 return this;
}

代码示例来源:origin: 80945540/FreeBook

/**
 * Inserts a SizeF value into the mapping of this Bundle, replacing
 * any existing value for the given key.  Either key or value may be null.
 *
 * @param key   a String, or null
 * @param value a SizeF object, or null
 */
@TargetApi(21)
public Bundler putSizeF(String key, SizeF value) {
 bundle.putSizeF(key, value);
 return this;
}

代码示例来源:origin: 80945540/LCRapidDevelop

/**
 * Inserts a SizeF value into the mapping of this Bundle, replacing
 * any existing value for the given key.  Either key or value may be null.
 *
 * @param key   a String, or null
 * @param value a SizeF object, or null
 */
@TargetApi(21)
public Bundler putSizeF(String key, SizeF value) {
 bundle.putSizeF(key, value);
 return this;
}

代码示例来源:origin: kayoSun/Tack

public static void putToBundle(@NonNull Bundle bundle, String key, SizeF value) {
  bundle.putSizeF(key, value);
}

代码示例来源:origin: JumeiRdGroup/Parceler

} else if (Build.VERSION.SDK_INT > 21
    && data instanceof SizeF) {
  bundle.putSizeF(key, (SizeF) data);
} else {
  toBundleFromGenericType(bundle, key, data);

代码示例来源:origin: nekocode/Meepo

return;
} else if (value instanceof SizeF) {
  bundle.putSizeF(key, (SizeF) value);
  return;

相关文章

Bundle类方法