Android Open Source - CDMenu Style Listener

From Project

Back to project page CDMenu.


The source code is released under:

MIT License

If you think the Android project CDMenu listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.bekitzur.cdmenu;
/*from   ww  w  .j  av  a  2s . c  o m*/
import android.view.View;
import android.widget.ListView;

 * Sends callbacks when populating the {@link CDMenu}'s {@link ListView} with items that are using custom layout
public interface StyleListener {
     * Sends a callback every time a list item is being created
     * @param listItemView a {@link View} describing a custom list item
     * @param position item's position in the list
     * @return {@code listItemView} after applying changes to it
    View onStyleChangeRequested(View listItemView, int position);

Java Source Code List