我已为pragma solidity ^0.4.24;
/*
Autor: Javier Guajardo J.
Website: https://ethereumchile.cl
Twitter: @EthereumChile
*/
contract Assembly {
function returnSum1(uint a, uint b) public pure returns (uint sum) {
// We ADD a and b in a new variable called doSum
assembly {
let doSum := add(a, b)
sum := doSum
}
}
function returnSum2(uint a, uint b) public pure returns (uint sum) {
// OR you can ADD a and b directly
assembly {
sum := add(a, b)
}
}
function returnSum3(uint a, uint b) public pure returns (uint) {
// OR you can ADD a and b into 0x40 memory address
assembly {
let sum := mload(0x40) // loading 0x40 address memory
mstore(sum, add(a, b)) // We store the add(a, b) in 0x40 address memory
return(sum, 32) // We return result.
}
}
}
ContextAction
实施了ListView
。我在另一个ViewCell
中显示ListView
并使用Rg.Plugins.Popup.显示为弹出窗口我的问题是在Android中,上下文操作栏位于弹出窗口后面,因此无法访问。您可以通过" DELETE"看到该栏。顶部的按钮和可访问的按钮。即使我关闭了弹出窗口,这个栏仍然存在。我怎样才能克服这个问题?请帮我。
由于