當前位置: 首頁>>代碼示例>>Java>>正文


Java AsymmetricGridView類代碼示例

本文整理匯總了Java中com.felipecsl.asymmetricgridview.library.widget.AsymmetricGridView的典型用法代碼示例。如果您正苦於以下問題:Java AsymmetricGridView類的具體用法?Java AsymmetricGridView怎麽用?Java AsymmetricGridView使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


AsymmetricGridView類屬於com.felipecsl.asymmetricgridview.library.widget包,在下文中一共展示了AsymmetricGridView類的4個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: onCreate

import com.felipecsl.asymmetricgridview.library.widget.AsymmetricGridView; //導入依賴的package包/類
@Override
@SuppressWarnings("unchecked")
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);
    listView = (AsymmetricGridView) findViewById(R.id.listView);

    adapter = new ListAdapter(this, listView, new ArrayList<DemoItem>());
    adapter.appendItems(getMoreItems(50));

    listView.setRequestedColumnCount(3);
    listView.setAdapter(adapter);
    listView.setDebugging(true);

    listView.setOnItemClickListener(this);
}
 
開發者ID:elliptic1,項目名稱:AsymmetricGridView,代碼行數:17,代碼來源:MainActivity.java

示例2: onCreateView

import com.felipecsl.asymmetricgridview.library.widget.AsymmetricGridView; //導入依賴的package包/類
@Nullable
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
    View view = inflater.inflate(R.layout.fragment_fodex_base, container, false);

    mGridView = (AsymmetricGridView) view.findViewById(R.id.grid_view);
    mFloatingActionMenu = (FloatingActionsMenu) view.findViewById(R.id.floating_menu);
    mTagButton = (FloatingActionButton) view.findViewById(R.id.floating_tag_button);
    mPtrLayout = (PtrClassicFrameLayout) view.findViewById(R.id.swipe_container);

    setupFloatingButtonsAndMenu();
    setupAsymmetricGridView();
    setupPullToRefresh();
    setupImagePreload();

    return view;
}
 
開發者ID:dyhpoon,項目名稱:Fo.dex,代碼行數:18,代碼來源:FodexBaseFragment.java

示例3: ListAdapter

import com.felipecsl.asymmetricgridview.library.widget.AsymmetricGridView; //導入依賴的package包/類
public ListAdapter(final Context context, final AsymmetricGridView listView, final List<DemoItem> items) {
    super(context, listView, items);
}
 
開發者ID:elliptic1,項目名稱:AsymmetricGridView,代碼行數:4,代碼來源:ListAdapter.java

示例4: FodexAdapter

import com.felipecsl.asymmetricgridview.library.widget.AsymmetricGridView; //導入依賴的package包/類
public FodexAdapter(Context context, AsymmetricGridView listView, List items) {
    super(context, listView, items);
}
 
開發者ID:dyhpoon,項目名稱:Fo.dex,代碼行數:4,代碼來源:FodexBaseFragment.java


注:本文中的com.felipecsl.asymmetricgridview.library.widget.AsymmetricGridView類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。