Subversion Repositories SmartDukaan

Rev

Rev 17060 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 17060 Rev 18497
Line 52... Line 52...
52
        t.setScreenName("Tutorials Screen");
52
        t.setScreenName("Tutorials Screen");
53
        t.send(new HitBuilders.ScreenViewBuilder().build());
53
        t.send(new HitBuilders.ScreenViewBuilder().build());
54
        /*final int[] flag = new int[] {R.drawable.mypreferencesnew,R.drawable.dealstutorial1, R.drawable.cashback,
54
        /*final int[] flag = new int[] {R.drawable.mypreferencesnew,R.drawable.dealstutorial1, R.drawable.cashback,
55
                R.drawable.mypreferencestutorial, R.drawable.searchtutorial};*/
55
                R.drawable.mypreferencestutorial, R.drawable.searchtutorial};*/
56
 
56
 
57
        final int[] flag = new int[] {R.drawable.dealstutorial1,R.drawable.searchtutorialnew, R.drawable.cashback,
57
        final int[] flag = new int[] {R.drawable.dealstutorial1,R.drawable.accessories_tab,R.drawable.accessories_quickbuy, R.drawable.searchtutorialnew, R.drawable.cashback,
58
                R.drawable.filter, R.drawable.preference};
58
                R.drawable.filter, R.drawable.preference};
59
 
59
 
60
        String[] rank = new String[] { "1", "2", "3", "4","5"};
60
        String[] rank = new String[] { "1", "2", "3", "4","5","6","7"};
61
        /*String[] openingText = new String[] { "First, Tell Us What You Like","We recommend, You profit","Get Cashback every time you shop", "Get deals that you are looking for", "Compare prices from all the big stores" };
61
        /*String[] openingText = new String[] { "First, Tell Us What You Like","We recommend, You profit","Get Cashback every time you shop", "Get deals that you are looking for", "Compare prices from all the big stores" };
62
        String[] middleText = new String[] { "Start by listing your favorite brands, your price range, & get better, targeted deals","We search the whole internet to find the best deals on mobiles and other products only for you", "Redeem your cashback every week. Get the money in your Saholic Wallet and use that on Mobile and DTH recharges.", "You can easily set up your preferences for the category, brand and price range that you are interested in", "You have a single screen to look at prices from Flipkart, Amazon, Snapdeal and more!"};*/
62
        String[] middleText = new String[] { "Start by listing your favorite brands, your price range, & get better, targeted deals","We search the whole internet to find the best deals on mobiles and other products only for you", "Redeem your cashback every week. Get the money in your Saholic Wallet and use that on Mobile and DTH recharges.", "You can easily set up your preferences for the category, brand and price range that you are interested in", "You have a single screen to look at prices from Flipkart, Amazon, Snapdeal and more!"};*/
63
 
63
 
64
        String[] openingText = new String[] {"We recommend, You profit","Compare prices from all the big stores","Get Cashback every time you shop", "Get deals that you are looking for", "Now, Tell Us What You Like" };
64
        String[] openingText = new String[] {"We recommend, You profit","Accessories at wholesale prices","Quick Buy","Compare prices from all the big stores","Get Cashback every time you shop", "Get deals that you are looking for", "Now, Tell Us What You Like" };
65
        String[] middleText = new String[] {"We search the whole internet to find the best deals on mobiles and other products only for you","You have a single screen to look at prices from Flipkart, Amazon, Snapdeal and more!", "Redeem your cashback every week. Get the money in your Saholic Wallet and use that on Mobile and DTH recharges.", "Simply use the filter tool to refine all deals by brand, price, popularity and our recommendations", "Start by listing your favorite brands, your price range, & get better, targeted deals"};
65
        String[] middleText = new String[] {"We search the whole internet to find the best deals on mobiles and other products only for you","Wide range. Easy returns","Buy multiple items together","You have a single screen to look at prices from Flipkart, Amazon, Snapdeal and more!", "Redeem your cashback every week. Get the money in your Saholic Wallet and use that on Mobile and DTH recharges.", "Simply use the filter tool to refine all deals by brand, price, popularity and our recommendations", "Start by listing your favorite brands, your price range, & get better, targeted deals"};
66
        vpPager = (ViewPager)rootView.findViewById(R.id.pager);
66
        vpPager = (ViewPager)rootView.findViewById(R.id.pager);
67
        CustomPageAdapter adapter = new CustomPageAdapter(getActivity(),rank,flag,openingText,middleText);
67
        CustomPageAdapter adapter = new CustomPageAdapter(getActivity(),rank,flag,openingText,middleText);
68
        vpPager.setAdapter(adapter);
68
        vpPager.setAdapter(adapter);
69
        mIndicator = (CirclePageIndicator)rootView.findViewById(R.id.indicator);
69
        mIndicator = (CirclePageIndicator)rootView.findViewById(R.id.indicator);
70
        mIndicator.setViewPager(vpPager);
70
        mIndicator.setViewPager(vpPager);