Git Product home page Git Product logo

wyuange / shopmall Goto Github PK

View Code? Open in Web Editor NEW

This project forked from anlonglong/shopmall

0.0 0.0 0.0 19.16 MB

比幕商城是一款用kotlin语言写的以Bmob第三方后端云的基于MVP框架模式的商城项目,还用到了讯飞的语音交互SDK,独立开发且开发周期为两个月,由于时间有限,其中可能有些UI交互不是建善尽美,存在一些瑕疵;在后续空闲的时候会进行合理的优化

Kotlin 99.83% HTML 0.17%

shopmall's Introduction

#简介

一 截图

  • 应用的部分截图放在shopmall文件夹下面的screenshot文件中

二 APK下载

三 框架&技术

框架

项目的整体结构采用的是MVP分层架构,但是部分的页面并没有采用mvp架构, 比如:分类,购物车等模块,这些模块 采用的是google开发架构组件中的viewModel&&LiveData来配合开发的, 在配合kotlin的函数式参数,很好的实 了数据的展示,吧View层和model层进行了高度分离,达到了高耦合的目的。

技术

  1. 数据存储采用的是google推荐的repository层来维护的, 数据库采用的google开发组件中的另外一个组件Room, 一个官方的,增删改查效率高的ORM型关系型数据库。 repository层统一处理和数据存储有关的一切操作
  2. 事件的传递采用的是EventBus来传递的。
  3. 权限框架使用的是google官方出品的easypermissions库, 并在对其进行了二封装,使用起来如丝般柔滑和顺手。
  4. 二维码扫描使用的是基于googlez的zxing封装的bga-qrcode-zxing, 可实现定制化的扫码界面,支持二维码和条形码的扫码秒。

四 感谢

因为以前没有写过电商之类的APP,这几年电商这么火,感觉作为一个Android开发人员, 没写过电商类的App,人生是不完整的,所以,学完kotlin后就想着写一个, 完整一下人生,哈哈哈...,随在github上搜到了一个, 本项目就是模仿github用户名是AndroidHensen的用户的YaNi项目, 项目地址,我只是用kotlin来实现的, 特此感谢@AndroidHensen提供的后端数据,和前端的逻辑,如有侵犯您的版权,请及时联系本人,我会删除所有的数据。

五 声明

本项目只能用来交流和学习,禁止一切商业用途。

关于我

Email: [email protected]

License

Copyright 2018 anlonglong

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.

shopmall's People

Contributors

anlonglong avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.