Skip to content

This project is a demo like Google Play Store Cards to display lists horizontally and vertically .

Notifications You must be signed in to change notification settings

SalmanZach/WidgetsLikeGoolePlay

Repository files navigation

WidgetsLikeGoolePlay

ic_launcher

Inspired by Google play store Widgets, project made on MVVM pattern by using Android binding and recycler views.  That shows items HORIZONTALLY nad VERTICALLY.
 

Carousal Widget.

carousal

Using carousal Widget.

  <com.salman.zach.widgetlikegoogleplay.playWidgets.widgets.PlayCarousalWidget
    android:id="@+id/carousalWidget"
    android:layout_width="match_parent"
    android:layout_height="wrap_content" />        

Infinite List Widget.

list

Using Infinite List Widget.

    <com.salman.zach.widgetlikegoogleplay.playWidgets.widgets.PlayListingWidget
    android:id="@+id/listWidget"
    android:layout_width="match_parent"
    android:layout_height="match_parent"/>

Then set a View model which implements ViewModel Interface from Base to widget.

   carousalWidget.buildWidget(viewModel);   

Set widget title,description and Banner Image.

     // Background Color will Generate by Banner Image 
    carousalWidget.setBannerImage(R.drawable.js_banner);   
    // Set Tital 
    carousalWidget.setTitle("Super Hero Movies !");
    // Set Description 
    carousalWidget.setDescription("Search Latest Super Hero Movies");

License

Copyright 2018 Salman Zach

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

This project is a demo like Google Play Store Cards to display lists horizontally and vertically .

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages