Android Open Source - SuperSLiM Fill Result






From Project

Back to project page SuperSLiM.

License

The source code is released under:

Apache License

If you think the Android project SuperSLiM 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.tonicartos.superslim;
/*from w w  w . j a va2 s . c  o m*/
public class FillResult {

    /**
     * Adapter position of start view displayed by the section.
     */
    public int positionStart;

    /**
     * Adapter position of end view displayed by the section.
     */
    public int positionEnd;

    /**
     * Line at which the displayed section area starts.
     */
    public int markerStart;

    /**
     * Line at which the displayed section area finishes.
     */
    public int markerEnd;

    /**
     * Position of earliest child added in recycler view child list. Typically 0 or
     * getChildCount().
     */
    public int firstChildIndex;

    /**
     * Number of children added tot he recycler view in the fill operation.
     */
    public int addedChildCount;

    /**
     * If negative then the header is well before the displayed part of the section.
     */
    public int headerOffset;

    @Override
    public String toString() {
        return "FillResult\nPosition " + positionStart + ":" + positionEnd + "\nMarker "
                + markerStart + ":" + markerEnd + "\nFirst child index " + firstChildIndex
                + "\nAdded child count " + addedChildCount + "\nHeader overlap " + headerOffset;
    }
}




Java Source Code List

com.tonicartos.superslim.ApplicationTest.java
com.tonicartos.superslim.FillResult.java
com.tonicartos.superslim.GridSectionLayoutManager.java
com.tonicartos.superslim.LayoutManager.java
com.tonicartos.superslim.LayoutState.java
com.tonicartos.superslim.LinearSectionLayoutManager.java
com.tonicartos.superslim.SectionData.java
com.tonicartos.superslim.SectionLayoutManager.java
com.tonicartos.superslimexample.ApplicationTest.java
com.tonicartos.superslimexample.CountriesFragment.java
com.tonicartos.superslimexample.CountryNamesAdapter.java
com.tonicartos.superslimexample.CountryViewHolder.java
com.tonicartos.superslimexample.MainActivity.java