mirror of
https://github.com/openharmony/applications_sample_camera.git
synced 2026-07-19 13:14:38 -04:00
update launcher/launcher/src/main/cpp/swipe_view.cpp.
初始化arrPage_[3]参数 Signed-off-by: tongkai0808fh <tongkai5@huawei.com>
This commit is contained in:
@@ -130,7 +130,7 @@ void SwipeView::OnSetUpView()
|
||||
swipe_->SetCurrentPage(0);
|
||||
}
|
||||
|
||||
void SwipeView::BundleInfoScan(BundleInfo* pBundleInfos, int cnt, int gCount, ViewGroupPage* arrPage_[MAX_VIEWGROUP])
|
||||
void SwipeView::BundleInfoScan(BundleInfo* pBundleInfos, int cnt, int gCount, ViewGroupPage* arrPage_[3])
|
||||
{
|
||||
for (int j = 0; j < cnt; j++) {
|
||||
for (int i = 0; i < gCount; i++) {
|
||||
|
||||
Reference in New Issue
Block a user