Profile

Cover photo
Sumit Vairagar
Worked at SPAR Solutions
Attended Little Flower Convent High School
Lives in Pune
78 followers|123,372 views
AboutPostsPhotosYouTube

Stream

Sumit Vairagar

Shared publicly  - 
1
Add a comment...

Sumit Vairagar

Shared publicly  - 
 
Click on Share Link to See Your Results
3
Sumit Vairagar's profile photo
 
lol
Add a comment...

Sumit Vairagar

Shared publicly  - 
 
Please subscribe and like our facebook Page.

https://www.facebook.com/ignitinghearts
2
Ajay George's profile photoSumit Vairagar's profile photo
2 comments
 
Thanks Ajay! Will surely do!
Add a comment...

Sumit Vairagar

Discussion  - 
 
When I try to build the Stock Project, I get the following error

A problem occurred evaluating project ':library-extra'.
> Could not create plugin of type 'LibraryPlugin'.

I am using Android Studio
1
Sumit Vairagar's profile photoGabriele Mariotti's profile photo
8 comments
 
Android studio has a build.gradle also in the root.
It is a top-level build file where you can add configuration options common to all sub-projects/modules.

https://github.com/gabrielemariotti/cardslib/blob/master/build.gradle

You have to specify in your build.gradle the buildscript block.
Here you can find or specify your gradle plugin.

Also pay attention.
There is a relation between gradle-plugin,the gradle version and android studio version.

http://stackoverflow.com/questions/22252956/android-studio-gradle-issue-upgrading-to-version-0-5-0-gradle-migrating-from-0/22256954#22256954
Add a comment...

Sumit Vairagar

Discussion  - 
 
What the lowest version of Android Supported by this lib, will it work on Ginger Bread?
1
Akshay Chordiya's profile photoSumit Vairagar's profile photo
9 comments
 
Thats good news and Good approach! Thanks man!
Add a comment...

Sumit Vairagar

Shared publicly  - 
3
Add a comment...

Sumit Vairagar

Shared publicly  - 
1
Add a comment...

Sumit Vairagar

Discussion  - 
 
I downloaded the whole repository, however now I want to run the Demo project using Android Studio, i am not sure which project to import and run, there are bunch of other folders. If anyone could guide to document that I can follow, it will be very helpful
1
siddharth saxena's profile photoSumit Vairagar's profile photoGabriele Mariotti's profile photo
8 comments
 
+siddharth saxena you can find all info here:
https://github.com/gabrielemariotti/cardslib/blob/master/doc/CARDLIST.md#swipe-and-undo-in-cardlistview

You can use the  OnUndoSwipeListListener to handle the undo action
Add a comment...

Sumit Vairagar

Shared publicly  - 
4
Ninad Javanjal's profile photoSumit Vairagar's profile photo
2 comments
 
Thanks Nomad!
Add a comment...

Sumit Vairagar

Discussion  - 
 
Can the Demo project use Maven instead of Gradle?
1
Dan Bachelder's profile photoSumit Vairagar's profile photoGabriele Mariotti's profile photo
Add a comment...

Sumit Vairagar

Discussion  - 
 
Hey All the Cardslib fans, please help me fixing this, I am new to Android, so obivously need to Cardslib.

I have my layout with the Cardlist tag as below..

  <it.gmariotti.cardslib.library.view.CardListView
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:id="@+id/newsList"
        card:card_layout_resourceID="@layout/list_card_thumbnail_layout"/>


in my activity I also do this..

Card card = new Card(getApplicationContext());
CardHeader header = new CardHeader(getApplicationContext());
header.setTitle("Title");
card.addCardHeader(header);
CardThumbnail cardThumb = new CardThumbnail(getApplicationContext());
cardThumb.setDrawableResource(R.drawable.ic_launcher);
card.addCardThumbnail(cardThumb);

// Finally adding the card to the CardListView object.

But when I run the program, the header is shown, but the Thumbnail is not.

Please help me.
1
Sumit Vairagar's profile photoGabriele Mariotti's profile photoJosef Svensson's profile photo
4 comments
 
Hello! 
First of all thank you for an awesome lib! I have the same problem so we have probably done the same thing wrong.

My Code:
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        ArrayList<Card> cards = new ArrayList<Card>();
        Card card = new Card(this);
        Card card2 = new Card(this);
        CardThumbnail cardThumbnail = new CardThumbnail(this);
        cardThumbnail.setDrawableResource(R.drawable.ic_launcher);
        card.setTitle("foo");
        card2.setTitle("bar");
        CardHeader header = new CardHeader(this);
        card.addCardHeader(header);
        card2.addCardHeader(header);
        card.addCardThumbnail(cardThumbnail);
        card2.addCardThumbnail(cardThumbnail);
        cards.add(card);
        cards.add(card2);
        CardArrayAdapter mCardArrayAdapter = new CardArrayAdapter(this, cards);
        CardListView listView = (CardListView) this.findViewById(R.id.myList);
        if (listView != null) {
            listView.setAdapter(mCardArrayAdapter);
        }
    }

xlm:
<it.gmariotti.cardslib.library.view.CardListView
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:id="@+id/myList"
        style="@style/list_card.thumbnail"
        card:card_layout_resourceID="@layout/list_card_thumbnail_layout"/>

Thankful for all help :)
Add a comment...

Sumit Vairagar

Shared publicly  - 
2
Afzal Siddiqui's profile photo
 
awesome
Add a comment...
Work
Employment
  • SPAR Solutions
    Software Engg
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
Pune
Links
Education
  • Little Flower Convent High School
    2004
Basic Information
Gender
Male