2 * Copyright (c) CompanyNameMagicTag 2023-2023. All rights reserved.
\r
3 * Description: alipay get trans list view.
\r
8 #ifndef ALIPAY_GET_TRANS_LIST_H
\r
9 #define ALIPAY_GET_TRANS_LIST_H
\r
11 #include "components/ui_image_view.h"
\r
12 #include "components/ui_label.h"
\r
13 #include "components/ui_label_button.h"
\r
14 #include "alipay/AlipayPresenter.h"
\r
17 class AlipayGetTransList : public UIViewGroup {
\r
19 explicit AlipayGetTransList(AlipayPresenter *presenter);
\r
20 ~AlipayGetTransList() override;
\r
21 bool InitGetView(uint32_t index);
\r
23 AlipayPresenter *presenter_;
\r
24 bool AlipayInitLabel(uint32_t index);
\r
25 bool AlipayInitButton(uint32_t index);
\r
26 bool InitSimilarButton(int16 num, int16 alipayX, int16 alipayY, const char *buttonStr, const char *viewId);
\r
27 UILabel *alipayLabel { nullptr };
\r
28 UILabelButton *alipayButton[ALIPAY_SET_TWO] { nullptr };
\r