before 5.0.0:
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
class Node { | |
final String text; | |
final List<Node> nodes; | |
Node({this.text, this.nodes = const []}); | |
static void _printNodeLoop(Node node, [String space = '']) { | |
print('$space${node.text}'); | |
node.nodes.forEach((n) => _printNodeLoop(n, '${space}__')); |
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
// store.js | |
import { createStore, combineReducers } from 'redux' | |
import { | |
users, | |
} from '../ducks/user' | |
export const initialState = {} | |
export const store = createStore(users, initialState) |
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
const Tile = ({ id, url, onPress, isSelected }) => { | |
<View | |
source={url} | |
onPress={onPress} | |
/> | |
} | |
const staticData = [ | |
{ id: 1, url: 'someurl1' }, | |
{ id: 2, url: 'someurl2' } |
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
: (2.0) StripeModule() | |
// инициализация идентична | |
: (3.0) init() | |
: (3.1) exist(options, ANDROID_PAY_MODE, PRODUCTION).toLowerCase().equals(test) | |
: (8.0) paymentRequestWithAndroidPay() | |
: (8.1) paymentRequestWithAndroidPay(): getCurrentActivity() != null | |
// отличия | |
: (11.0) startApiClientAndAndroidPay() |