Android Open Source - Android-MultiPaneStream Channel Adapter






From Project

Back to project page Android-MultiPaneStream.

License

The source code is released under:

Apache License

If you think the Android project Android-MultiPaneStream 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 net.ichigotake.multipanestream.attribute.channel;
//  ww  w  .  ja  v a  2 s  .c o m
import android.content.Context;
import android.widget.SimpleExpandableListAdapter;

import net.ichigotake.multipanestream.R;

class ChannelAdapter extends SimpleExpandableListAdapter {

    static final String KEY_GROUP_TITLE = "GROUP_TITLE";
    static final String KEY_CHILD_TITLE = "CHILD_TITLE";
    static final String KEY_CHILD_SUMMARY = "SUMMARY";

    ChannelAdapter(Context context, ChannelTreeExpandableListCollection collection) {
        super(
                context,
                collection.getGroupList(),
                R.layout.channel_tree_category_group,
                new String []{KEY_GROUP_TITLE},
                new int []{R.id.channel_tree_category_group_name},
                collection.getChildElements(),
                R.layout.channel_tree_category_child,
                new String []{KEY_CHILD_TITLE, KEY_CHILD_SUMMARY},
                new int []{R.id.channel_tree_category_child_name, R.id.channel_tree_category_child_topic}
        );
    }
}




Java Source Code List

net.ichigotake.multipanestream.ApplicationTest.java
net.ichigotake.multipanestream.app.tablet.TabletMultiPaneStreamActivity.java
net.ichigotake.multipanestream.attribute.channel.ChannelAdapter.java
net.ichigotake.multipanestream.attribute.channel.ChannelTreeExpandableListCollection.java
net.ichigotake.multipanestream.attribute.channel.ChannelTreeFragment.java
net.ichigotake.multipanestream.attribute.channel.OnChannelSelectedListener.java
net.ichigotake.multipanestream.attribute.joiner.JoinerAdapter.java
net.ichigotake.multipanestream.attribute.joiner.JoinerFragment.java
net.ichigotake.multipanestream.sdk.ChannelBuilder.java
net.ichigotake.multipanestream.sdk.ChannelCategoryBuilder.java
net.ichigotake.multipanestream.sdk.ChannelCategoryImpl.java
net.ichigotake.multipanestream.sdk.ChannelCategory.java
net.ichigotake.multipanestream.sdk.ChannelImpl.java
net.ichigotake.multipanestream.sdk.ChannelJoiners.java
net.ichigotake.multipanestream.sdk.ChannelTree.java
net.ichigotake.multipanestream.sdk.Channel.java
net.ichigotake.multipanestream.sdk.JoinerBuilder.java
net.ichigotake.multipanestream.sdk.JoinerImpl.java
net.ichigotake.multipanestream.sdk.Joiner.java
net.ichigotake.multipanestream.sdk.MessageBuilder.java
net.ichigotake.multipanestream.sdk.MessageImpl.java
net.ichigotake.multipanestream.sdk.Message.java
net.ichigotake.multipanestream.stream.LogStreamFragment.java
net.ichigotake.multipanestream.stream.MainStreamFragment.java
net.ichigotake.multipanestream.stream.MessageView.java
net.ichigotake.multipanestream.stream.StreamAdapter.java
net.ichigotake.multipanestream.stream.StreamContainer.java