Giter VIP home page Giter VIP logo

listplaceholder's People

Contributors

bigearsenal avatar malkouz avatar marcsteven avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

listplaceholder's Issues

allow duplicate cutout in cell

Hi i encountered an issue with the library unfortunately it allows you add multiple cutouts to cell which creates an visual bug by taking the previous cutout into the draw function the solution is below

fileprivate func addCutoutView()
    {
        
        
        var hasCutout: Bool = false
        
        for view in self.subviews {
            if !(view is CutoutView) {
                view.alpha = 0
            } else {
                hasCutout = true
            }
        }
        if !hasCutout {
            let cutout = CutoutView()
            cutout.frame = self.bounds
            cutout.backgroundColor = UIColor.clear
            
            self.addSubview(cutout)
            cutout.setNeedsDisplay()
            cutout.boundInside(self)
            self.ld_setCutoutView(cutout)
        }
        
        
    }

Showing loader on customView only

I have a CustomView inside tableviewcell ContentView so the loader only showing on CustomView and not inside the content like I have UILabel, UIImage etc inside that CustomView but not showing on that particular controls. Any way I can show the loader on all the control inside that CustomView? I am using following code to show the loader on table:

self.tblSchedule.reloadData()
self.tblSchedule.showLoader()

Change the color

Why is the background view of table view is white? Can we change the color?

Not Showing Placeholder animation when working with IGListKit CollectionView

It worked when I tried your awesome ListPlaceholder on a simple UICollectionView and UITableView where the cell only contains simple components, but I still haven't got a clue to implement it since I'm using IGListKit CollectionView

Is there any chance you tried ListPlaceHolder on IGListKit? if so please let me know. Thank you very much.

How to remove loader behaviour after loading finished.

I am getting one issue in this sample.

In my app i have pagination ,

For first page doing like this

  1. startLoader
  2. get data from service
  3. reload table and remove loader behaviour(finishLoader)
    --after this never starting loader but getting some cell as loader behaviour.

First time its working fine, but when i am adding more data some times its showing loading behaviour in some cell.

reuse

normal cell reuse corver placeholder,and the placeHolder only need one, too many is not good.

objective c pod issue

[!] Pods written in Swift can only be integrated as frameworks; add use_frameworks! to your Podfile or target to opt into using it. The Swift Pod being used is: ListPlaceholder

I am having issue in Objective C

I am using ListPlaceholder in Objective C but it's not working properly.

I am using below code to display.

@import ListPlaceholder;

[tableview reloadData];
[tableview showLoader];


Show Placeholder while App is fetching data from API

Hi @malkouz ,

Great Library !!

But,

I want show placeholder while app is getting data from API,
My datasource Array is initialize after parsing data, and meanwhile I need to show placeholder.

So When datasource Array is empty this is not working.

Custom list placeholder view?

Hi @malkouz! ๐Ÿ˜„ This looks promising but the ability to not be able to define a custom view as the placeholder is an absolute deal breaker for me. Do you plan to support this functionality in the future?

Problem with UIStackView inside UIStackView

when I implemented an UIView and 2 another UIStackViews inside a horizontal UIStackView, The loaders, which are showing in 2 stackviews, was not correct.
It treats UIStackView inside another UIStackView as if it were an UIView without subviews.
If all arrangedSubviews in UIStackView are not UIStackView, it works fine.
ezgif com-video-to-gif(2)
I tried to make UIStackView conform to ListLoadable and ld_visibleContentViews become its arrangedSubviews but it won't help

How to Show this effect on Empty table View

Hi Malkouz your library is much appreciated .

I want to display the placeholders on the screen while in the background api is being called i have already checked a similar question in the issues section but have not found any leads as i am new ;) .

My tableView populates when the API has done fetching data from it
How can i show placeholders before populating that please?

Views inside StackView not working properly

Hi Everyone, I am using this amazing library, it is working fine.
But It is not working for stackViews in tableView or collectionView, it consider all the subviews in the stackView as a single View and highlight the whole stackView.

Does anyone have any idea to resolve this issue ?

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.